footer added
[koed-quiz.git] / apps / quiz / templates / quiz / result_detail.html
1 {% extends "quiz/base.html" %}
2 {% load i18n %}
3 {% load url from future %}
4
5
6 {% block "title" %}{{ result.quiz.name }}{% endblock %}
7 {% block "header" %}{{ result.quiz.name }}{% endblock %}
8
9
10 {% block "body" %}
11
12 <h2>{{ result.title }}</h2>
13
14 {% if result.text %}
15     <div>
16     {{ result.text|safe }}
17     </div>
18 {% endif %}
19
20
21
22 {% if valid %}
23     {% if previous_url %}
24         <a class='button' href='{{ previous_url }}'>{% trans "Back to last question" %}</a>
25     {% endif %}
26 {% else %}
27     {% if valid_url %}
28         <a class='button' href='{{ valid_url }}'>{% trans "Back to my test" %}</a>
29     {% endif %}
30 {% endif %}
31
32
33 <a class='button' href='{% url "quiz" %}'>{% trans "Start from the beginning" %}</a>
34
35 {% endblock %}