]> git.parisson.com Git - teleforma.git/commitdiff
no hours on testimonial dates, no rank in testimonial title
authoryomguy <yomguy@parisson.com>
Tue, 19 Mar 2013 21:18:08 +0000 (22:18 +0100)
committeryomguy <yomguy@parisson.com>
Tue, 19 Mar 2013 21:18:08 +0000 (22:18 +0100)
teleforma/templates/teleforma/inc/testimonial_list.html
teleforma/templates/teleforma/seminar_testimonial.html

index 1efa008493b7ecb00e94ae7854c47130e6071170..97f078f252d475079240329ac32f5699d989a97c 100644 (file)
@@ -2,12 +2,12 @@
 {% load i18n %}
 
 <table class="listing" width="100%">
-    <tbody>        
+    <tbody>
             <tr>
-            <td class="border-top" width="95%"><a href="{% url teleforma-seminar-testimonial seminar.id %}?format=pdf" target="_blank" title="{% trans "Testimonial" %}"><img src="{{ STATIC_URL }}teleforma/images/icon_doc_16.png" style="vertical-align:middle" alt="" /> {% trans "Testimonial" %} : {{ seminar.title }}{% if seminar.rank %} n°{{seminar.rank}}{% endif %}</a></td>
+            <td class="border-top" width="95%"><a href="{% url teleforma-seminar-testimonial seminar.id %}?format=pdf" target="_blank" title="{% trans "Testimonial" %}"><img src="{{ STATIC_URL }}teleforma/images/icon_doc_16.png" style="vertical-align:middle" alt="" /> {% trans "Testimonial" %} : {{ seminar.title }}</a></td>
             <td class="border-top" width="5%" align="center"><a href="{% url teleforma-seminar-testimonial-download seminar.id %}?format=pdf"><img src="{{ STATIC_URL }}teleforma/images/download.png" style="vertical-align:middle" alt="" title="{% trans "Download" %}" /></a></td>
             </tr>
-        
+
     </tbody>
 </table>
 
index b1d4aa95dbdac2e96110aae2f0b15f644a5db894..4e1d7cf74e869f3349bfd6b26ab5ee6eb9613477 100644 (file)
@@ -38,8 +38,8 @@
       <tr><td class="bold">{% trans "Course" %} : </td><td>{{ seminar.course }}</td></tr>
       <tr><td class="bold">{% trans "Training type" %} : </td><td>E-learning</td></tr>
       <tr><td class="bold">{% trans "Duration" %} : </td><td>{{ seminar.duration|hours }} {% trans "hours" %}</td></tr>
-      <tr><td class="bold">{% trans "Training begin date" %} : </td><td>{{ user.date_joined }}</td></tr>
-      <tr><td class="bold">{% trans "Training end date" %} : </td><td>{{ user.last_login }}</td></tr>
+      <tr><td class="bold">{% trans "Training begin date" %} : </td><td>{{ user.date_joined|date:'j F Y' }}</td></tr>
+      <tr><td class="bold">{% trans "Training end date" %} : </td><td>{{ user.last_login|date:'j F Y' }}</td></tr>
     </table>
 
     <table class="table2">