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

index d5f69f2442c483587dcda8b47e80de8c728caacc..f222b3b308b4eb6aaa7ce45bf7c24b5bda8bcf0b 100644 (file)
@@ -174,7 +174,7 @@ class SeminarView(SeminarAccessMixin, DetailView):
         context['delta_sec'] = delta_sec
         context['delta'] = str(delta).split('.')[0]
 
-        if progress == 100 and not validated
+        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':