From: yomguy Date: Fri, 11 May 2012 08:58:08 +0000 (+0200) Subject: adapt student list template X-Git-Tag: 0.4~5 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=350bc690cfbbbd526cc0d42bded39825cef584b2;p=teleforma.git adapt student list template --- diff --git a/teleforma/templates/telemeta/inc/user_list.html b/teleforma/templates/telemeta/inc/user_list.html index e7756a70..cd4458c4 100644 --- a/teleforma/templates/telemeta/inc/user_list.html +++ b/teleforma/templates/telemeta/inc/user_list.html @@ -36,11 +36,11 @@ {% if user.student.get %} {% with user.student.get as student %} {{ student.iej.name }} - {{ student.procedure.code }} - {{ student.oral_speciality.code }} - {{ student.written_speciality.code }} - {{ student.oral_1.code }} - {{ student.oral_2.code }} + {{ student.procedure.all.0.code }} + {{ student.oral_speciality.all.0.code }} + {{ student.written_speciality.all.0.code }} + {{ student.oral_1.all.0.code }} + {{ student.oral_2.all.0.code }} {% endwith %} {% elif user.professor.get %} {% trans "Professor" %}