From: Guillaume Pellerin Date: Wed, 12 Jun 2013 10:50:41 +0000 (+0200) Subject: update testimonial lists X-Git-Tag: 2.8.1-pro~487^2^2~1 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=46c1666b97739b9464308b5423b9f51089af107b;p=teleforma.git update testimonial lists --- diff --git a/teleforma/locale/fr/LC_MESSAGES/django.mo b/teleforma/locale/fr/LC_MESSAGES/django.mo index 499f4c0f..2fe435a9 100644 Binary files a/teleforma/locale/fr/LC_MESSAGES/django.mo and b/teleforma/locale/fr/LC_MESSAGES/django.mo differ diff --git a/teleforma/locale/fr/LC_MESSAGES/django.po b/teleforma/locale/fr/LC_MESSAGES/django.po index dbdcbfb2..684add6f 100644 --- a/teleforma/locale/fr/LC_MESSAGES/django.po +++ b/teleforma/locale/fr/LC_MESSAGES/django.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-06-12 11:57+0200\n" +"POT-Creation-Date: 2013-06-12 12:50+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Guillaume Pellerin \n" "Language-Team: LANGUAGE \n" @@ -412,7 +412,7 @@ msgstr "formulaire" #: models/pro.py:131 templates/teleforma/answer_form.html:112 #: templates/teleforma/seminar_detail.html:162 -#: templates/teleforma/testimonials.html:58 +#: templates/teleforma/testimonials.html:56 #: templates/teleforma/inc/answer_list.html:14 msgid "Seminar" msgstr "Séminaire" @@ -1056,8 +1056,9 @@ msgstr " publié" #: templates/teleforma/course_media.html:62 #: templates/teleforma/seminar_media_audio.html:131 #: templates/teleforma/seminar_media_video.html:182 -#: templates/teleforma/testimonials.html:60 -#: templates/teleforma/testimonials.html:70 +#: templates/teleforma/testimonials.html:65 +#: templates/teleforma/testimonials.html:71 +#: templates/teleforma/testimonials.html:77 #: templates/teleforma/inc/document_list.html:22 #: templates/teleforma/inc/document_simple_list.html:9 #: templates/teleforma/inc/media_list.html:56 @@ -1170,6 +1171,7 @@ msgid "Video index" msgstr "Index vidéo" #: templates/teleforma/seminar_testimonial.html:28 +#: templates/teleforma/testimonials.html:63 msgid "Training testimonial" msgstr "Attestation de formation" @@ -1217,6 +1219,7 @@ msgid "to" msgstr "au" #: templates/teleforma/seminar_testimonial_presence.html:28 +#: templates/teleforma/testimonials.html:69 msgid "Remote presence testimonial" msgstr "Attestation de suivi à distance" @@ -1241,29 +1244,37 @@ msgstr "Accéder" msgid "Testimonials" msgstr "Attestations" -#: templates/teleforma/testimonials.html:56 +#: templates/teleforma/testimonials.html:64 +#: templates/teleforma/testimonials.html:70 +#: templates/teleforma/testimonials.html:76 +#: templates/teleforma/inc/question_list.html:16 +msgid "validated on" +msgstr "validée le" + +#: templates/teleforma/testimonials.html:75 +msgid "Payback testimonial" +msgstr "Attestation de présence et de règlement" + +#: templates/teleforma/testimonials.html:86 +msgid "No testimonial" +msgstr "Aucune attestation" + #: templates/teleforma/inc/answer_list.html:12 #: templates/telemeta/profile_detail.html:58 #: templates/telemeta/inc/user_list.html:19 msgid "Last Name" msgstr "Nom" -#: templates/teleforma/testimonials.html:57 #: templates/teleforma/inc/answer_list.html:13 #: templates/telemeta/profile_detail.html:57 #: templates/telemeta/inc/user_list.html:20 msgid "First Name" msgstr "Prénom" -#: templates/teleforma/testimonials.html:59 #: templates/teleforma/inc/answer_list.html:15 msgid "Date submitted" msgstr "date de soumission" -#: templates/teleforma/testimonials.html:77 -msgid "No testimonial" -msgstr "Aucune attestation" - #: templates/teleforma/inc/answer_list.html:16 msgid "Summary" msgstr "" @@ -1320,10 +1331,6 @@ msgstr "soumise le" msgid "saved on" msgstr "enregistrée le" -#: templates/teleforma/inc/question_list.html:16 -msgid "validated on" -msgstr "validée le" - #: templates/teleforma/inc/question_list.html:21 #: templates/teleforma/inc/question_step.html:12 msgid "Waiting for validation" diff --git a/teleforma/templates/teleforma/seminar_testimonial_payback.html b/teleforma/templates/teleforma/seminar_testimonial_payback.html index 64419010..5747b896 100644 --- a/teleforma/templates/teleforma/seminar_testimonial_payback.html +++ b/teleforma/templates/teleforma/seminar_testimonial_payback.html @@ -77,7 +77,7 @@
- {{ testimonial.user.first_name|upper }} {{ testimonial.user.last_name|upper }} + {{ testimonial.user.first_name }} {{ testimonial.user.last_name }}
diff --git a/teleforma/templates/teleforma/testimonials.html b/teleforma/templates/teleforma/testimonials.html index ce243f9d..663e247d 100644 --- a/teleforma/templates/teleforma/testimonials.html +++ b/teleforma/templates/teleforma/testimonials.html @@ -50,29 +50,38 @@ {% autopaginate object_list %} {% paginate %} -
- - - - - - - - - + {% for testimonial in object_list %} +
+
+

{% trans "Seminar" %} : {% if testimonial.seminar %}{{ testimonial.seminar.title }}{% else %}{{ testimonial.title }}{% endif %}

+
+ +
{% trans "Last Name"%}{% trans "First Name"%}{% trans "Seminar"%}{% trans "Date submitted"%}{% trans "Download"%}
- {% for testimonial in object_list %} + - - - - + + - {% endfor %} + + + + + + + + + + + + + -
{{ testimonial.user.last_name }}{{ testimonial.user.first_name }}{% if testimonial.seminar %}{{ testimonial.seminar.title }}{% else %}{{ testimonial.title }}{% endif %}{{ testimonial.date_added }} {% trans "Training testimonial" %}{% trans "validated on" %} {{ testimonial.date_added }}
{% trans "Remote presence testimonial" %}{% trans "validated on" %} {{ testimonial.date_added }}
{% trans "Payback testimonial" %}{% trans "validated on" %} {{ testimonial.date_added }}
-
+ + + {% endfor %} + {% else %}

{% trans "No testimonial" %}

{% endif %}