From 34995e3b49511e12bd2d7dd5dc371adac2bb1d4e Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Fri, 21 Nov 2014 16:25:39 +0100 Subject: [PATCH] fix time --- 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 895f7bd5..2bde72a6 100644 --- a/teleforma/views/pro.py +++ b/teleforma/views/pro.py @@ -178,7 +178,7 @@ class SeminarView(SeminarAccessMixin, DetailView): messages.info(self.request, _("All your answers have been validated. You can now read the corrected documents (step 5).")) elif progress == 100 and validated and self.template_name == 'teleforma/seminar_detail.html': messages.info(self.request, _("You have successfully terminated all steps of your e-learning seminar. You can now download your training testimonial below.")) - if progress == 100 and validated and delta <= 0: + if progress == 100 and validated and time <= 0: messages.info(self.request, _("Your connexion time is not sufficient. In order to get your testimonial, you have to work at least the time required for this seminar.")) return context -- 2.39.5