From: Guillaume Pellerin Date: Mon, 13 Jan 2014 17:21:28 +0000 (+0100) Subject: update testimonial dates X-Git-Tag: 2.8.1-pro~305 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=5d02ba6f089a014c33bd2b1c28a2082528eb0968;p=teleforma.git update testimonial dates --- 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 %}