]> git.parisson.com Git - teleforma.git/commitdiff
update testimonial lists
authorGuillaume Pellerin <yomguy@parisson.com>
Wed, 12 Jun 2013 10:50:41 +0000 (12:50 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Wed, 12 Jun 2013 10:50:41 +0000 (12:50 +0200)
teleforma/locale/fr/LC_MESSAGES/django.mo
teleforma/locale/fr/LC_MESSAGES/django.po
teleforma/templates/teleforma/seminar_testimonial_payback.html
teleforma/templates/teleforma/testimonials.html

index 499f4c0fb881f0104a0c6086e71901294761b69e..2fe435a999095db88ab65297317332c6d9582611 100644 (file)
Binary files a/teleforma/locale/fr/LC_MESSAGES/django.mo and b/teleforma/locale/fr/LC_MESSAGES/django.mo differ
index dbdcbfb24675ab64efef051c4d6c8a8a554cdcfa..684add6fe30158e6361403e25ae11f2bc3a33e64 100644 (file)
@@ -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 <yomguy@parisson.com>\n"
 "Language-Team: LANGUAGE <lists@parisson.com>\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"
index 64419010f86ef486a246c0b1b95aa4a2523ab629..5747b89657296c9ba4d97ea3641ce23f46dc1203 100644 (file)
@@ -77,7 +77,7 @@
 
 
 <div id="user">
-  {{ testimonial.user.first_name|upper }} {{ testimonial.user.last_name|upper }}
+  {{ testimonial.user.first_name }} {{ testimonial.user.last_name }}
 </div>
 
 
index ce243f9d0488f3a79bb66dfad320f80c8aa8bf1d..663e247db4dee712913f3b0a41c8b3ea27b6280f 100644 (file)
 {% autopaginate object_list %}
 {% paginate %}
 
-<div id="users">
-  <table class="listing" width="100%">
-   <thead>
-   <tr><th>{% trans "Last Name"%}</th>
-    <th>{% trans "First Name"%}</th>
-    <th>{% trans "Seminar"%}</th>
-    <th>{% trans "Date submitted"%}</th>
-    <th>{% trans "Download"%}</th>
-    </tr>
-    </thead>
+ {% for testimonial in object_list %}
+  <div class="course_content">
+    <div class="course_subtitle">
+      <h3><img src="{{ STATIC_URL }}/telemeta/images/item_title.png" width="10px" alt="" /> {% trans "Seminar" %} : {% if testimonial.seminar %}{{ testimonial.seminar.title }}{% else %}{{ testimonial.title }}{% endif %}</h3>
+    </div>
+
+   <table class="listing" width="100%">
     <tbody id="spacing">
-    {% for testimonial in object_list %}
+
     <tr>
-     <td>{{ testimonial.user.last_name }}</td>
-     <td>{{ testimonial.user.first_name }}</td>
-     <td>{% if testimonial.seminar %}{{ testimonial.seminar.title }}{% else %}{{ testimonial.title }}{% endif %}</td>
-     <td>{{ testimonial.date_added }}</td>
+     <td><a href="{% url teleforma-seminar-testimonial testimonial.seminar.id %}?format=pdf" target="_blank"><img src="{{ STATIC_URL }}/teleforma/images/application-msword.png" style="vertical-align:middle" alt="" /> {% trans "Training testimonial" %}</a></td>
+     <td>{% trans "validated on" %} {{ testimonial.date_added }}</td>
      <td><a href="{% url teleforma-seminar-testimonial-download testimonial.seminar.id %}?format=pdf"><img src="{{ STATIC_URL }}teleforma/images/download.png" style="vertical-align:middle" alt="" title="{% trans "Download" %}" /></a></td>
     </tr>
-    {% endfor %}
+
+    <tr>
+     <td><a href="{% url teleforma-seminar-testimonial-presence testimonial.seminar.id %}?format=pdf" target="_blank"><img src="{{ STATIC_URL }}/teleforma/images/application-msword.png" style="vertical-align:middle" alt="" /> {% trans "Remote presence testimonial" %}</a></td>
+     <td>{% trans "validated on" %} {{ testimonial.date_added }}</td>
+     <td><a href="{% url teleforma-seminar-testimonial-presence testimonial.seminar.id %}?format=pdf" target="_blank"><img src="{{ STATIC_URL }}teleforma/images/download.png" style="vertical-align:middle" alt="" title="{% trans "Download" %}" /></a></td>
+    </tr>
+
+    <tr>
+     <td><a href="{% url teleforma-seminar-testimonial-payback testimonial.seminar.id %}?format=pdf" target="_blank"><img src="{{ STATIC_URL }}/teleforma/images/application-msword.png" style="vertical-align:middle" alt="" /> {% trans "Payback testimonial" %}</td>
+     <td>{% trans "validated on" %} {{ testimonial.date_added }}</td>
+     <td><a href="{% url teleforma-seminar-testimonial-payback testimonial.seminar.id %}?format=pdf" target="_blank"><img src="{{ STATIC_URL }}teleforma/images/download.png" style="vertical-align:middle" alt="" title="{% trans "Download" %}" /></a></td>
+    </tr>
+
     </tbody>
-  </table>
-</div>
+   </table>
+  </div>
+ {% endfor %}
+
  {% else %}
     <p class="help">{% trans "No testimonial" %}</p>
  {% endif %}