From 17f85bb23e6e9e6c9865d67821409faa176a76d0 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Mon, 24 Nov 2014 17:22:04 +0100 Subject: [PATCH] bugfix --- teleforma/views/pro.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teleforma/views/pro.py b/teleforma/views/pro.py index d5f69f24..f222b3b3 100644 --- a/teleforma/views/pro.py +++ b/teleforma/views/pro.py @@ -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': -- 2.39.5