Commit | Line | Data |
---|---|---|
01a9197e | 1 | {% extends "container_base.html" %} |
878de341 | 2 | {% load pagination_tags %} |
01a9197e | 3 | |
4 | {% block contenu %} | |
878de341 EMS |
5 | {% autopaginate sites 10 %} |
6 | ||
0b1ddc11 | 7 | <ul class="actions"> |
c57ff7b5 | 8 | <li><a href="{% url aide %}#sitotheque">Aide</a></li> |
0b1ddc11 EMS |
9 | {% include "sites/actions.html" %} |
10 | </ul> | |
cf4091c8 | 11 | <h1>Sites — Sitothèque</h1> |
878de341 | 12 | |
d57ca08f | 13 | <h2>Rechercher</h2> |
878de341 | 14 | |
8baa2a56 | 15 | <form method="get" action=""> |
878de341 | 16 | <table id="repertoire_recherche"> |
6e9fc661 | 17 | {{search_form.as_table}} |
18 | <tr><th></th><td><input type="submit" class="bouton" value="Rechercher" /></td></tr> | |
878de341 | 19 | </table> |
6e9fc661 | 20 | </form> |
21 | ||
cf4091c8 | 22 | <h2>Résultats</h2> |
fdcf5874 EMS |
23 | <div class="sous-titre"> |
24 | {{nb_sites}} site{{ nb_sites|pluralize }} correspondant à votre recherche | |
7ed3ee8f | 25 | (<a href="{% url rss_sites %}?{{ request.META.QUERY_STRING }}">Fil RSS</a>) |
fdcf5874 EMS |
26 | {% if user.is_authenticated %} |
27 | (<a href="{% url sauvegarder_recherche "sites" %}?{{ request.META.QUERY_STRING }}">Sauvegarder cette recherche</a>) | |
28 | {% endif %} | |
29 | </div> | |
878de341 | 30 | |
cf4091c8 | 31 | <div class="pagination">{% paginate %}</div> |
8baa2a56 EMS |
32 | {% for site in sites %} |
33 | {% include "sites/resultat.html" %} | |
34 | {% endfor %} | |
cf4091c8 | 35 | <div class="pagination">{% paginate %}</div> |
01a9197e | 36 | {% endblock %} |