X-Git-Url: https://git.mdrn.pl/koed-quiz.git/blobdiff_plain/2c2b8f122dd789a089ac5054e112f59874c01a70..30eda91159999122d1106432f7f56d4dbc5a07c7:/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..4b04ef2 100755 --- a/apps/quiz/templates/quiz/result_detail.html +++ b/apps/quiz/templates/quiz/result_detail.html @@ -1,34 +1,35 @@ -{% extends "base.html" %} +{% extends "quiz/base.html" %} {% load i18n %} {% load url from future %} -{% block "body" %} +{% block "title" %}{{ result.quiz.name }}{% endblock %} +{% block "header" %}{{ result.quiz.name }}{% endblock %} -

{{ result.title }}

+{% block "body" %} +

{{ result.title }}

-
-{{ result.text }} -
+{% if result.text %} +
+ {{ result.text|safe }} +
+{% endif %} {% if valid %} {% if previous_url %} - {% trans "Back to last question" %} + {% trans "Back to last question" %} {% endif %} {% else %} {% if valid_url %} - {% trans "Back to my test" %} - {% else %} - {% trans "Start from the beginning" %} + {% trans "Back to my test" %} {% endif %} {% endif %} - -{% trans "Start again" %} +{% trans "Start from the beginning" %} {% endblock %}