]> git.parisson.com Git - teleforma.git/commitdiff
again
authorGuillaume Pellerin <yomguy@parisson.com>
Mon, 24 Nov 2014 16:22:36 +0000 (17:22 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Mon, 24 Nov 2014 16:22:36 +0000 (17:22 +0100)
teleforma/views/pro.py

index f222b3b308b4eb6aaa7ce45bf7c24b5bda8bcf0b..83459c9e57e66bad026b1eb23a3dd794dd3092d1 100644 (file)
@@ -174,8 +174,7 @@ class SeminarView(SeminarAccessMixin, DetailView):
         context['delta_sec'] = delta_sec
         context['delta'] = str(delta).split('.')[0]
 
-        if progress == 100 and not validated:
-         and self.template_name == 'teleforma/seminar_detail.html':
+        if progress == 100 and not validated and self.template_name == 'teleforma/seminar_detail.html':
             messages.info(self.request, _("You have successfully terminated your e-learning seminar. A training testimonial will be available as soon as the pedagogical team validate all your answers (48h maximum)."))
         elif progress < 100 and validated and self.template_name == 'teleforma/seminar_detail.html':
             messages.info(self.request, _("All your answers have been validated. You can now read the corrected documents (step 5)."))