From bfd144b394cb5217866a240f75deabb6b8a6f8b2 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Tue, 31 Dec 2013 13:06:50 +0100 Subject: [PATCH] display testimonial when seminar.progress != 100 --- 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 6a427a00..9a73544e 100644 --- a/teleforma/views/pro.py +++ b/teleforma/views/pro.py @@ -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 -- 2.39.5