]> git.parisson.com Git - teleforma.git/commitdiff
update scripts list
authorGuillaume Pellerin <yomguy@parisson.com>
Fri, 27 Jun 2014 10:39:56 +0000 (12:39 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Fri, 27 Jun 2014 10:39:56 +0000 (12:39 +0200)
teleforma/exam/templates/exam/inc/script_list.html

index 6106f1cf7d9827e926891fe28377143d88a62768..33bfaf29b7d5c33abf098bf817c199b7265071a2 100644 (file)
@@ -9,11 +9,12 @@
 <div id="users">
   <table class="listing" width="100%">
    <thead>
-   <tr><th>{% trans "Last Name"%}</th>
-    <th>{% trans "First Name"%}</th>
+   <tr>
     <th>{% trans "Course"%}</th>
     <th>{% trans "Session"%}</th>
     <th>{% trans "Type"%}</th>
+    <th>{% trans "Last Name"%}</th>
+    <th>{% trans "First Name"%}</th>
     <th>{% trans "Submission date"%}</th>
     <th>{% trans "Mark date"%}</th>
     <th>{% trans "Corrector"%}</th>
     <tbody id="spacing">
     {% for script in object_list %}
     <tr>
-     <td><a href="{% url teleforma-profile-detail script.author.username %}">{{ script.author.last_name }}</a></td>
-     <td><a href="{% url teleforma-profile-detail script.author.username %}">{{ script.author.first_name }}</a></td>
-     <td><a href="{% url teleforma-exam-script-detail period.id script.id %}">{{ script.course.title }}</a></td>
+    <td><a href="{% url teleforma-exam-script-detail period.id script.id %}">{{ script.course.title }}</a></td>
      <td><a href="{% url teleforma-exam-script-detail period.id script.id %}">{{ script.session }}</a></td>
      <td><a href="{% url teleforma-exam-script-detail period.id script.id %}">{{ script.type }}</a></td>
+
+     <td><a href="{% url teleforma-profile-detail script.author.username %}">{{ script.author.last_name }}</a></td>
+     <td><a href="{% url teleforma-profile-detail script.author.username %}">{{ script.author.first_name }}</a></td>
      <td><a href="{% url teleforma-exam-script-detail period.id script.id %}">{{ script.date_submitted }}</a></td>
      <td><a href="{% url teleforma-exam-script-detail period.id script.id %}">{% if script.date_marked %}{{ script.date_marked }}{% endif %}</a></td>
      <td><a href="{% url teleforma-exam-script-detail period.id script.id %}">{% if script.corrector %}{{ script.corrector }}{% endif %}</a></td>