From faacc6efe77f051a61c48283912ccf450bd96909 Mon Sep 17 00:00:00 2001 From: yomguy Date: Wed, 20 Feb 2013 10:59:01 +0100 Subject: [PATCH] fix --- teleforma/templates/teleforma/answer_detail.html | 2 +- teleforma/views/pro.py | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/teleforma/templates/teleforma/answer_detail.html b/teleforma/templates/teleforma/answer_detail.html index ed9b04da..4b205195 100644 --- a/teleforma/templates/teleforma/answer_detail.html +++ b/teleforma/templates/teleforma/answer_detail.html @@ -40,7 +40,7 @@ $('#reject').unbind('click').click(function() {
-

{% trans "Answer" %}{% if answer.question.rank %}n° {{ answer.question.rank }}{% endif %}

+

{% trans "Answer" %}{% if answer.question.rank %} n° {{ answer.question.rank }}{% endif %}

{{ answer.answer|safe }} diff --git a/teleforma/views/pro.py b/teleforma/views/pro.py index 1c63ae3c..ad89a308 100644 --- a/teleforma/views/pro.py +++ b/teleforma/views/pro.py @@ -299,9 +299,9 @@ class AnswersView(ListView): path = reverse('teleforma-seminar-detail', kwargs={'pk':seminar.id}) if answer.question.seminar.sub_title: - title = seminar.sub_title + ' : ' + seminar.title + title = unicode(seminar.sub_title) + ' : ' + unicode(seminar.title) else: - title = seminar.title + title = unicode(seminar.title) auditor = user.auditor.all() if auditor: @@ -357,9 +357,9 @@ class AnswersView(ListView): 'pk': answer.question.pk}) if answer.question.seminar.sub_title: - title = seminar.sub_title + ' : ' + seminar.title + title = unicode(seminar.sub_title) + ' : ' + unicode(seminar.title) else: - title = seminar.title + title = unicode(seminar.title) auditor = user.auditor.all() if auditor: @@ -404,9 +404,9 @@ class AnswerDetailViewTest(DetailView): organization = seminar.course.department.name if answer.question.seminar.sub_title: - title = seminar.sub_title + ' : ' + seminar.title + title = unicode(seminar.sub_title) + ' : ' + unicode(seminar.title) else: - title = seminar.title + title = unicode(seminar.title) auditor = user.auditor.all() if auditor: -- 2.39.5