From: Guillaume Pellerin Date: Sun, 20 Jul 2014 20:14:08 +0000 (+0200) Subject: okk X-Git-Tag: 2.8.1-pro~282^2~61 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=5242ce05781b9a560445e42c92cfe36a9cd08347;p=teleforma.git okk --- diff --git a/teleforma/views/pro.py b/teleforma/views/pro.py index b53b0f0c..1f27555c 100644 --- a/teleforma/views/pro.py +++ b/teleforma/views/pro.py @@ -171,8 +171,8 @@ 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.")) - # set_revision(user, seminar) - context['delta'] = str(self.get_delta(user, seminar)).split('.')[0] + delta = self.get_delta(user, seminar) + context['delta'] = str(delta).split('.')[0] return context @jsonrpc_method('teleforma.publish_seminar')