]> git.parisson.com Git - teleforma.git/commitdiff
okk
authorGuillaume Pellerin <yomguy@parisson.com>
Sun, 20 Jul 2014 20:14:08 +0000 (22:14 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Sun, 20 Jul 2014 20:14:08 +0000 (22:14 +0200)
teleforma/views/pro.py

index b53b0f0caf93e7933f78ff7302409a826e9b1939..1f27555c95505cc41c88e4e34c38ccd4839b4044 100644 (file)
@@ -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')