-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into survey4operators
* origin/master: Fixed the english text for the start page description. (#65) chg: [templates] updated default index Django admin template in order to add links to different admin tools.
- Loading branch information
Showing
8 changed files
with
31 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
from django.urls import path | ||
|
||
from stats import views | ||
|
||
app_name = 'stats' | ||
|
||
urlpatterns = [ | ||
path("", views.index), | ||
path("", views.index, name="index"), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{% extends "admin/base_site.html" %} | ||
{% load i18n apptags static admin_urls %} | ||
|
||
{% block breadcrumbs %}<div class="breadcrumbs"><a href="{% url 'admin:index' %}">{% trans 'Home' %}</a> › Translations management</div>{% endblock %} | ||
|
||
{% block content %} | ||
|
||
<div id="content-main"> | ||
<div class="row"> | ||
<div class="col"> | ||
<h1>Data management</h1> | ||
<p>Export the current survey (questions, answers, recommendations and sections): <a href="/admin/export/survey.json" download>survey.json</a></p> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col"> | ||
<h1>Statistics</h1> | ||
<p>Go to the <a href="{% url 'stats:index' %}">survey statistics page</a>.</p> | ||
</div> | ||
</div> | ||
<br /><br /> | ||
</div> | ||
{% endblock %} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters