From 65d3d7fb5119bb1427f22d7e5ebcdceb2d113574 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Mon, 16 Dec 2013 23:09:27 +0100 Subject: [PATCH] bugfix --- teleforma/templates/teleforma/answer_detail.html | 8 ++------ teleforma/templates/teleforma/answers.html | 3 +++ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/teleforma/templates/teleforma/answer_detail.html b/teleforma/templates/teleforma/answer_detail.html index fe64073d..912e3993 100644 --- a/teleforma/templates/teleforma/answer_detail.html +++ b/teleforma/templates/teleforma/answer_detail.html @@ -27,7 +27,7 @@ $('#reject').unbind('click').click(function() { {% endblock infra_javascript %} -{% block course_content %} +{% block answers %}
{% trans "Answer" %} {% trans "of" %} {{ answer.user.first_name }} {{ answer.user.last_name }} {% trans "on" %} {{ answer.date_submitted }}
@@ -58,9 +58,5 @@ $('#reject').unbind('click').click(function() { {% trans " reject" %} {% endif %} -{% endblock course_content %} - - -{% block progress %} -{% endblock progress %} +{% endblock answers %} diff --git a/teleforma/templates/teleforma/answers.html b/teleforma/templates/teleforma/answers.html index 7ccea975..dcdc9eaf 100644 --- a/teleforma/templates/teleforma/answers.html +++ b/teleforma/templates/teleforma/answers.html @@ -57,6 +57,7 @@ var answerUtils = { {% endif %} +{% block answers %}
{% trans "Answers" %}

{% if object_list %} @@ -65,4 +66,6 @@ var answerUtils = {

{% trans "No answer" %}

{% endif %} +{% endblock answers %} + {% endblock %} -- 2.39.5