]> git.parisson.com Git - teleforma.git/commitdiff
fix order
authoryomguy <yomguy@parisson.com>
Tue, 5 Jun 2012 00:12:53 +0000 (02:12 +0200)
committeryomguy <yomguy@parisson.com>
Tue, 5 Jun 2012 00:12:53 +0000 (02:12 +0200)
teleforma/templates/teleforma/inc/conference_list.html
teleforma/templates/teleforma/inc/document_list.html

index 9603671062d1899d64e5cfc2d91a5cfcc085951b..5103a2f2f2b7e18764e29ad178d501b7c36081f4 100644 (file)
@@ -8,27 +8,27 @@
     <table class="listing" width="100%">
     <thead>
         <tr>
+        <th>{% trans "Streaming" %}</th>
         <th class="highlight">{% trans "Type" %}</th>
         <th >{% trans "Room" %}</th>
         <th >{% trans "Session" %}</th>
         <th>{% trans "Professor" %}</th>
         <th>{% trans "Begin date" %}</th>
-        <th>{% trans "Streaming" %}</th>
         </tr>
     </thead>
     <tbody>
         {% for conference in course.conference.all %}
             <tr {% if not forloop.counter0|divisibleby:"2" %}class="odd"{% endif %}>
+            <td align="center">
+                {% if conference.streaming %}
+                <a href="{% url teleforma-conference-detail conference.id %}"><img src="images/media-record.png" alt="yes" style="vertical-align:middle" /></a>
+                {% endif %}
+            </td>
             <td><a href="{% url teleforma-conference-detail conference.id %}">{{ conference.course.type }}</a></td>
             <td><a href="{% url teleforma-conference-detail conference.id %}">{{ conference.room }}</a></td>
             <td><a href="{% url teleforma-conference-detail conference.id %}">{{ conference.session }}</a></td>
             <td><a href="{% url telemeta-profile-detail conference.professor.user.username %}" target="_blank">{{ conference.professor }}</a></td>
             <td>{{ conference.date_begin }}</td>
-             <td align="center">
-                {% if conference.streaming %}
-                <a href="{% url teleforma-conference-detail conference.id %}"><img src="images/media-record.png" alt="yes" style="vertical-align:middle" /></a>
-                {% endif %}
-            </td>
             </tr>
         {% endfor %}
     </tbody>
index f0781494811996b7783def20ec06a817150e9544..54df5bb1c734933e05e685382b7bc313ee895be6 100644 (file)
@@ -8,16 +8,17 @@
 <table class="listing" width="100%">
     <thead>
         <tr>
+        <th>{% trans "Download" %}</th>
         <th class="highlight">{% trans "Title" %}</th>
         <th>{% trans "Description" %}</th>
         <th>{% trans "Annal" %}</th>
         <th>{% trans "Date modified" %}</th>
-        <th>{% trans "Download" %}</th>
         </tr>
     </thead>
     <tbody>
         {% for document in course.document.all %}
         <tr {% if not forloop.counter0|divisibleby:"2" %}class="odd"{% endif %}>
+        <td align="center"><a href="{% url teleforma-document-download document.id %}"><img src="{% url telemeta-images "download.png" %}" width="16px"  style="vertical-align:middle" /></a></td>
         <td><a href="{% url teleforma-document-detail document.id %}" target="_blank">{{ document.title }}</a></td>
         <td>{{ document.description }}</td>
         <td align="center">
@@ -26,7 +27,6 @@
         {% endif %}
         </td>
         <td>{{ document.date_added }}</td>
-        <td align="center"><a href="{% url teleforma-document-download document.id %}"><img src="{% url telemeta-images "download.png" %}" width="16px"  style="vertical-align:middle" /></a></td>
         </tr>
     {% endfor %}
     </tbody>