From 67cb57735170be37fbb083f22ce21b679cfb2eb4 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Mon, 24 Nov 2014 17:26:46 +0100 Subject: [PATCH] fix context --- 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 be4fe6fb..be85c262 100644 --- a/teleforma/views/pro.py +++ b/teleforma/views/pro.py @@ -172,7 +172,7 @@ class SeminarView(SeminarAccessMixin, DetailView): delta = timer - datetime.timedelta(seconds=seminar.duration.as_seconds()) delta_sec = delta.total_seconds() context['delta_sec'] = delta_sec - context['delta'] = str(delta).split('.')[0] + context['timer'] = str(delta).split('.')[0] 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).")) -- 2.39.5