Commit | Line | Data |
---|---|---|
588d6b93 | 1 | {% extends "container_base.html" %} |
2 | ||
2e7bc859 | 3 | {% load pagination_tags %} |
2e7bc859 | 4 | |
588d6b93 | 5 | {% block contenu %} |
f8c16b3d | 6 | <h4>Ressources</h4> |
5df13228 | 7 | {% autopaginate ressources %} |
2e7bc859 AJ |
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> | |
588d6b93 | 24 | {% endblock %} |