fnp
/
koed-quiz.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
footer added
[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
6a06ec0
..
4b04ef2
100755
(executable)
--- a/
apps/quiz/templates/quiz/result_detail.html
+++ b/
apps/quiz/templates/quiz/result_detail.html
@@
-1,4
+1,4
@@
-{% extends "base.html" %}
+{% extends "
quiz/
base.html" %}
{% load i18n %}
{% load url from future %}
{% load i18n %}
{% load url from future %}
@@
-11,23
+11,25
@@
<h2>{{ result.title }}</h2>
<h2>{{ result.title }}</h2>
-<div>
-{{ result.text|safe }}
-</div>
+{% if result.text %}
+ <div>
+ {{ result.text|safe }}
+ </div>
+{% endif %}
{% if valid %}
{% if previous_url %}
{% if valid %}
{% if previous_url %}
- <a class='b
ig-b
utton' href='{{ previous_url }}'>{% trans "Back to last question" %}</a>
+ <a class='button' href='{{ previous_url }}'>{% trans "Back to last question" %}</a>
{% endif %}
{% else %}
{% if valid_url %}
{% endif %}
{% else %}
{% if valid_url %}
- <a class='b
ig-b
utton' href='{{ valid_url }}'>{% trans "Back to my test" %}</a>
+ <a class='button' href='{{ valid_url }}'>{% trans "Back to my test" %}</a>
{% endif %}
{% endif %}
{% endif %}
{% endif %}
-<a class='b
ig-b
utton' href='{% url "quiz" %}'>{% trans "Start from the beginning" %}</a>
+<a class='button' href='{% url "quiz" %}'>{% trans "Start from the beginning" %}</a>
{% endblock %}
{% endblock %}