]> git.parisson.com Git - teleforma.git/commitdiff
fix testimonial
authoryomguy <yomguy@parisson.com>
Thu, 17 Jan 2013 14:52:53 +0000 (15:52 +0100)
committeryomguy <yomguy@parisson.com>
Thu, 17 Jan 2013 14:52:53 +0000 (15:52 +0100)
teleforma/templates/teleforma/seminar_testimonial.html

index 4de9b32f0c8b772885aac2095da07fe0a0232843..9752c77d49c83462cd6927b79fe47b29a87d4440 100644 (file)
@@ -10,7 +10,7 @@
 <head>
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
 
-<title>{%block head_title %}{% description %} - TeleForma{% endblock %}</title>
+<title>{%block head_title %}{% description %} - {% trans "Testimonial" %}{% endblock %}</title>
 
 {% block stylesheets %}
 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}teleforma/css/teleforma_pdf.css" />
@@ -25,9 +25,8 @@
 <div id="layout">
 
 <div id="header">
-    {% trans "Training testimonial" %}
- </div>
-
+    <span style="color: yellow; font-weight: bold;">&gt;</span> {% trans "Training testimonial" %}
+</div>
 
 <div id="content">
   
       <tr><td class="bold">{% trans "Last name" %} : </td><td>{{ user.last_name|upper }}</td></tr>
       <tr><td class="bold">{% trans "First name" %} : </td><td>{{ user.first_name|upper }}</td></tr>
       <tr><td class="bold">{% trans "Address" %} : </td><td>{{ user.auditor.all.0.address }} {{ user.auditor.all.0.postal_code }} {{ user.auditor.all.0.city }}</td></tr>
-      <tr><td class="bold">{% trans "Duration" %} : </td><td>{{ seminar.duration }}</td></tr>
-      <tr><td class="bold">{% trans "Sujet" %} : </td><td>{{ seminar.sub_title }} {% if seminar.rank %} n°{{seminar.rank}}{% endif %}</td></tr>
+      <tr><td class="bold">{% trans "Sujet" %} : </td><td>{{ seminar.title }} {% if seminar.rank %} n°{{seminar.rank}}{% endif %}</td></tr>
       <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>
-      {% if seminar.keywords.all %}<tr><td class="bold">{% trans "keywords" %}</td><td>{% for kw in seminar.keywords.all %}{{ kw }}, {% endfor %}</td></tr>{% endif %}
       {% if seminar.description %}
       <tr><td class="bold">{% trans "Description" %} : </td><td><div class="description">{{ seminar.description|safe }}</div></td></tr>
       {% endif %}
+      <tr><td class="bold">{% trans "Duration" %} : </td><td>{{ seminar.duration|fancy_duration }}</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>
     </table>
       </td></tr>
     </table>
     
-
 </div>
 
-
-
 {% block footer %}
 <div id="footer">
     Copyright &copy; {% current_year %} {{ seminar.course.department }}
@@ -70,6 +65,5 @@
 </div>
 {% endblock layout %}
 
-
 </body>
 </html>