]> git.parisson.com Git - teleforma.git/commitdiff
bugfix
authorGuillaume Pellerin <yomguy@parisson.com>
Fri, 18 Jul 2014 07:45:52 +0000 (09:45 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Fri, 18 Jul 2014 07:45:52 +0000 (09:45 +0200)
teleforma/exam/templates/exam/inc/script_list.html

index 7031bffa96f10a385347102c498148d2d075f2b8..d00c88c90917fa4614986c5da21ffca32aa0a2d3 100644 (file)
@@ -24,9 +24,9 @@
     <tbody id="spacing" class="script-list">
     {% for script in object_list %}
     <tr>
-     <td {% script.status != 2 %}href="{% url teleforma-exam-script-detail period.id script.id %}"{% endif %}>{{ script.course.title }}</td>
-     <td {% script.status != 2 %}href="{% url teleforma-exam-script-detail period.id script.id %}"{% endif %}>{{ script.session }}</td>
-     <td {% script.status != 2 %}href="{% url teleforma-exam-script-detail period.id script.id %}"{% endif %}>{{ script.type }}</td>
+     <td {% if script.status != 2 %}href="{% url teleforma-exam-script-detail period.id script.id %}"{% endif %}>{{ script.course.title }}</td>
+     <td {% if script.status != 2 %}href="{% url teleforma-exam-script-detail period.id script.id %}"{% endif %}>{{ script.session }}</td>
+     <td {% if script.status != 2 %}href="{% url teleforma-exam-script-detail period.id script.id %}"{% endif %}>{{ script.type }}</td>
      <td>{{ script.author.last_name }}</td>
      <td>{{ script.author.first_name }}</td>
      <td>{{ script.date_added }}</td>