]> git.parisson.com Git - teleforma.git/commitdiff
adapt student list template
authoryomguy <yomguy@parisson.com>
Fri, 11 May 2012 08:58:08 +0000 (10:58 +0200)
committeryomguy <yomguy@parisson.com>
Fri, 11 May 2012 08:58:08 +0000 (10:58 +0200)
teleforma/templates/telemeta/inc/user_list.html

index e7756a70e2fd023dd22eb5ed2367b0469b4fe967..cd4458c439238ad0cc535d7014eeb27ce588b001 100644 (file)
      {% if user.student.get %}
       {% with user.student.get as student %}
         <td>{{ student.iej.name }}</td>
-        <td>{{ student.procedure.code }}</td>
-        <td>{{ student.oral_speciality.code }}</td>
-        <td>{{ student.written_speciality.code }}</td>
-        <td>{{ student.oral_1.code }}</td>
-        <td>{{ student.oral_2.code }}</td>
+        <td>{{ student.procedure.all.0.code }}</td>
+        <td>{{ student.oral_speciality.all.0.code }}</td>
+        <td>{{ student.written_speciality.all.0.code }}</td>
+        <td>{{ student.oral_1.all.0.code }}</td>
+        <td>{{ student.oral_2.all.0.code }}</td>
      {% endwith %}
     {% elif user.professor.get %}
         <td>{% trans "Professor" %}</td>