From: Guillaume Pellerin Date: Fri, 30 Jan 2015 13:08:07 +0000 (+0100) Subject: fix no author X-Git-Tag: 1.1~295 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=5271eb3f7d83c5fd0355cb57dca1a6fa53494838;p=teleforma.git fix no author --- diff --git a/teleforma/exam/templates/exam/inc/script_list.html b/teleforma/exam/templates/exam/inc/script_list.html index 0ce9d112..622533c3 100644 --- a/teleforma/exam/templates/exam/inc/script_list.html +++ b/teleforma/exam/templates/exam/inc/script_list.html @@ -27,8 +27,8 @@ {% if script.status != 2 %}{% endif %}{{ script.course.title }}{% if script.status != 2 %}{% endif %} {% if script.status != 2 %}{% endif %}{{ script.session }}{% if script.status != 2 %}{% endif %} {% if script.status != 2 %}{% endif %}{{ script.type }}{% if script.status != 2 %}{% endif %} - {{ script.author.last_name }} - {{ script.author.first_name }} + {% if script.author.username %}{{ script.author.last_name }}{% endif %} + {% if script.author.username %}{{ script.author.first_name }}{% endif %} {{ script.date_added }} {% if script.date_marked %}{{ script.date_marked }}{% endif %} {% if script.corrector %}{{ script.corrector }}{% endif %}