f6a2506e97562f2734cf6f2948cab3a7c238f052
[auf_savoirs_en_partage_django.git] / auf_savoirs_en_partage / templates / savoirs / ressource_index.html
1 {% extends "container_base.html" %}
2
3 {% load pagination_tags %}
4
5 {% block contenu %}
6 <h4>Ressources</h4>
7 {% autopaginate ressources %}
8 <div class="contenu-wrapper">
9 <div class="centre">{% paginate %}</div>
10 <table id="repertoire">
11 <tr>
12 <th>Nom</th>
13 <th>Source</th>
14 </tr>
15 {% for r in ressources %}
16 <tr class="{% cycle 'odd' 'notodd' %}">
17 <td><a href="{% url savoirs.views.ressource_retrieve r.id %}" class="le-titre">{{ r.title|truncatewords:11 }}</a></td>
18 <td>{{ r.server }}</td>
19 </tr>
20 {% endfor %}
21 </table>
22 <div class="centre">{% paginate %}</div>
23 </div>
24 {% endblock %}