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