Supprimé des sources qui ne fonctionnent plus
[auf_savoirs_en_partage_django.git] / auf_savoirs_en_partage / templates / sites / index.html
1 {% extends "container_base.html" %}
2 {% load sep pagination_tags %}
3 {% load url from future %}
4
5 {% block sep_menu_droite %}
6 {% sep_menu_brique discipline_active region_active %}
7 {% endblock %}
8
9 {% block contenu %}
10 {% autopaginate sites 10 %}
11
12 <ul class="actions">
13 <li><a href="{% url "aide" %}#sitotheque">Aide</a></li>
14 {% include "sites/actions.html" %}
15 </ul>
16 <h1>Sites &#8212; Sitothèque</h1>
17
18 <h2>Rechercher</h2>
19
20 <form method="get" action="">
21 <table id="repertoire_recherche">
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>
26 </table>
27 </form>
28
29 <h2>Résultats</h2>
30 <div class="sous-titre">
31 {{nb_sites}} site{{ nb_sites|pluralize }} correspondant à votre recherche
32 (<a href="{% url "rss_sites" %}?{{ request.META.QUERY_STRING }}">Fil RSS</a>)
33 {% if user.is_authenticated %}
34 (<a href="{% url "sauvegarder_recherche" "sites" %}?{{ request.META.QUERY_STRING }}">Sauvegarder cette recherche</a>)
35 {% endif %}
36 </div>
37
38 <div class="pagination">{% paginate %}</div>
39 {% for site in sites %}
40 {% include "sites/resultat.html" %}
41 {% endfor %}
42 <div class="pagination">{% paginate %}</div>
43 {% endblock %}