Listings
[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 {% load sorting_tags %}
5
6
7 {% autosort ressources %}
8 {% autopaginate ressources 10 %}
9
10
11 {% block contenu %}
12 <h4>Ressources</h4>
13
14 <div class="contenu-wrapper">
15 <div class="centre">{% paginate %}</div>
16 <table id="repertoire">
17 <tr>
18 <th>Nom</th>
19 <th>Source</th>
20 </tr>
21 {% for r in ressources %}
22 <tr class="{% cycle 'odd' 'notodd' %}">
23 <td><a href="{% url savoirs.views.ressource_retrieve r.id %}" class="le-titre">{{ r.title|truncatewords:11 }}</a></td>
24 <td>{{ r.server }}</td>
25 </tr>
26 {% endfor %}
27 </table>
28 <div class="centre">{% paginate %}</div>
29 </div>
30
31 {% endblock %}