fnp
/
koed-quiz.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pretty much working version
[koed-quiz.git]
/
apps
/
quiz
/
templates
/
quiz
/
result_detail.html
diff --git
a/apps/quiz/templates/quiz/result_detail.html
b/apps/quiz/templates/quiz/result_detail.html
index
89b875c
..
6a06ec0
100755
(executable)
--- a/
apps/quiz/templates/quiz/result_detail.html
+++ b/
apps/quiz/templates/quiz/result_detail.html
@@
-3,32
+3,31
@@
{% load url from future %}
{% load url from future %}
-{% block "body" %}
+{% block "title" %}{{ result.quiz.name }}{% endblock %}
+{% block "header" %}{{ result.quiz.name }}{% endblock %}
-<h1>{{ result.title }}</h1>
+{% block "body" %}
+<h2>{{ result.title }}</h2>
<div>
<div>
-{{ result.text }}
+{{ result.text
|safe
}}
</div>
{% if valid %}
{% if previous_url %}
</div>
{% if valid %}
{% if previous_url %}
- <a href='{{ previous_url }}'>{% trans "Back to last question" %}</a>
+ <a
class='big-button'
href='{{ previous_url }}'>{% trans "Back to last question" %}</a>
{% endif %}
{% else %}
{% if valid_url %}
{% endif %}
{% else %}
{% if valid_url %}
- <a href='{{ valid_url }}'>{% trans "Back to my test" %}</a>
- {% else %}
- <a href='{% url "quiz" %}'>{% trans "Start from the beginning" %}</a>
+ <a class='big-button' href='{{ valid_url }}'>{% trans "Back to my test" %}</a>
{% endif %}
{% endif %}
{% endif %}
{% endif %}
-
-<a href='{% url "quiz" %}'>{% trans "Start again" %}</a>
+<a class='big-button' href='{% url "quiz" %}'>{% trans "Start from the beginning" %}</a>
{% endblock %}
{% endblock %}