]> git.parisson.com Git - teleforma.git/commitdiff
display testimonial when seminar.progress != 100
authorGuillaume Pellerin <yomguy@parisson.com>
Tue, 31 Dec 2013 12:06:50 +0000 (13:06 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Tue, 31 Dec 2013 12:06:50 +0000 (13:06 +0100)
teleforma/views/pro.py

index 6a427a0051f7d5f9148a847e7a3f60d6ea3cdfa7..9a73544e8b7a428c75d96daa7e26d667f331fc11 100644 (file)
@@ -673,7 +673,7 @@ class TestimonialListView(ListView):
         testimonials = Testimonial.objects.filter(user=user)
         for testimonial in testimonials:
             seminar = testimonial.seminar
-            if seminar_progress(user, seminar) == 100 and seminar_validated(user, seminar):
+            if seminar_validated(user, seminar):
                 t.append(testimonial)
         return t