]> git.parisson.com Git - teleforma.git/commitdiff
fix user list
authorGuillaume Pellerin <yomguy@parisson.com>
Mon, 8 Jul 2013 11:29:59 +0000 (13:29 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Mon, 8 Jul 2013 11:29:59 +0000 (13:29 +0200)
teleforma/templates/telemeta/inc/user_list.html

index be273d36da4d8c75f9e095d375eda742da577a02..b9ea6323e78e65a632cf4631f21d52da0c5d0037 100644 (file)
@@ -19,7 +19,7 @@
    <tr><th>{% trans "Last Name"%}</th>
     <th>{% trans "First Name"%}</th>
     <th>{% trans "IEJ"%}</th>
-    <th>{% trans "Training"%}</th>
+    <th>{% trans "Trainings"%}</th>
     <th>{% trans "Procedure"%}</th>
     <th>{% trans "Oral spe"%}</th>
     <th>{% trans "Written spe"%}</th>
@@ -37,7 +37,7 @@
      {% if user.student.get %}
       {% with user.student.get as student %}
         <td>{{ student.iej.name }}</td>
-        <td>{{ student.training }}</td>
+        <td>{% for training in student.trainings.all %}{{ training }} {% endfor %}</td>
         <td>{{ student.procedure.code }}</td>
         <td>{{ student.oral_speciality.code }}</td>
         <td>{{ student.written_speciality.code }}</td>