]> git.parisson.com Git - teleforma.git/commitdiff
fix message titles
authoryomguy <yomguy@parisson.com>
Wed, 20 Feb 2013 09:46:42 +0000 (10:46 +0100)
committeryomguy <yomguy@parisson.com>
Wed, 20 Feb 2013 09:46:42 +0000 (10:46 +0100)
teleforma/views/pro.py

index 437058b98f1e3444f9934e9649bae00c64d9ae3e..1c63ae3c05a6cfe4ed34f1425ceb94abb5861bfa 100644 (file)
@@ -299,9 +299,9 @@ class AnswersView(ListView):
         path = reverse('teleforma-seminar-detail', kwargs={'pk':seminar.id})
 
         if answer.question.seminar.sub_title:
-            title = unicode(_('Subtitle')) + ' : ' + seminar.sub_title
+            title = seminar.sub_title + ' : ' + seminar.title
         else:
-            title = unicode(seminar.title)
+            title = seminar.title
 
         auditor = user.auditor.all()
         if auditor:
@@ -357,7 +357,7 @@ class AnswersView(ListView):
                        'pk': answer.question.pk})
 
         if answer.question.seminar.sub_title:
-            title = unicode(_('Subtitle')) + ' : ' + seminar.sub_title
+            title = seminar.sub_title + ' : ' + seminar.title
         else:
             title = seminar.title
 
@@ -404,7 +404,7 @@ class AnswerDetailViewTest(DetailView):
         organization = seminar.course.department.name
 
         if answer.question.seminar.sub_title:
-            title = unicode(_('Subtitle')) + ' : ' + seminar.sub_title
+            title = seminar.sub_title + ' : ' + seminar.title
         else:
             title = seminar.title