]> git.parisson.com Git - teleforma.git/commitdiff
fix doc types
authoryomguy <yomguy@parisson.com>
Mon, 11 Jun 2012 12:52:40 +0000 (14:52 +0200)
committeryomguy <yomguy@parisson.com>
Mon, 11 Jun 2012 12:52:40 +0000 (14:52 +0200)
teleforma/templates/teleforma/inc/document_list.html

index a0e494ced1e0330098ffb3387b56e0d9011f2811..b37e1f7d803d65f943a41a0b036ffac855f190fc 100644 (file)
@@ -21,7 +21,6 @@
     </thead>
     <tbody>
         {% for document in course.document.all|from_course_type:type %}
-        {% if document.type == doc_type %}
         <tr {% if not forloop.counter0|divisibleby:"2" %}class="odd"{% endif %}>
         <td>{% if document.file %}<a href="{% url teleforma-document-detail document.id %}" target="_blank">{% endif %}{{ document.title }}{% if document.file %}</a>{% endif %}</td>
         <td align="center">
@@ -32,7 +31,6 @@
         <td>{{ document.date_added }}</td>
         <td align="center">{% if document.file %}<a href="{% url teleforma-document-download document.id %}"><img src="{% url telemeta-images "download.png" %}" width="16px"  style="vertical-align:middle" /></a>{% endif %}</td>
         </tr>
-        {% endif %}
     {% endfor %}
     </tbody>
 </table>