From 5d02ba6f089a014c33bd2b1c28a2082528eb0968 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Mon, 13 Jan 2014 18:21:28 +0100 Subject: [PATCH] update testimonial dates --- .../templates/teleforma/seminar_testimonial_knowledge.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teleforma/templates/teleforma/seminar_testimonial_knowledge.html b/teleforma/templates/teleforma/seminar_testimonial_knowledge.html index dc186333..f85f237b 100644 --- a/teleforma/templates/teleforma/seminar_testimonial_knowledge.html +++ b/teleforma/templates/teleforma/seminar_testimonial_knowledge.html @@ -41,7 +41,7 @@ {% trans "Training begin date" %} : {% if first_revision.date_modified %}{{ first_revision.date_modified|date:'j F Y' }}{% else %}{{ first_revision.date|date:'j F Y' }}{% endif %} {% trans "Knowledge validation dates and terms" %} : {% for answer in answers %} - {% trans "Answer" %} n°{{ answer.question.rank }} : {{ answer.date_validated|date:'j F Y' }} + {% trans "Answer" %} n°{{ answer.question.rank }} : {% if testimonial.date_modified and testimonial.date_modified < answer.date_validated %}{{ testimonial.date_modified|date:'j F Y' }}{% else %}{{ answer.date_validated|date:'j F Y' }}{% endif %} {% trans "Required characters" %} : {{ answer.question.min_nchar }} {% trans "Submitted characters" %} : {{ answer.answer|length }} {% endfor %} -- 2.39.5