]> git.parisson.com Git - teleforma.git/commitdiff
Temporarily disabled a message
authorGael Le Mignot <gael@pilotsystems.net>
Wed, 22 Apr 2020 10:14:06 +0000 (12:14 +0200)
committerGael Le Mignot <gael@pilotsystems.net>
Wed, 22 Apr 2020 10:14:06 +0000 (12:14 +0200)
teleforma/views/pro.py

index f93dfacd6b7bfcd3716aadf12520dc0ffb8ab02e..027c28fc42f1c9921a5d81c80a6d937b0d3e0a37 100644 (file)
@@ -230,7 +230,9 @@ class SeminarView(SeminarAccessMixin, DetailView):
         context['seminar_validated'] = validated
         delta_sec = context['delta_sec']
         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)."))
+            # Temporarily disabled due to free seminars
+            pass
+            #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' and missing_steps == set('5'):
             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 delta_sec >= 0 and self.template_name == 'teleforma/seminar_detail.html':