Commit | Line | Data |
---|---|---|
34947443 AJ |
1 | {% load pagination_tags %} |
2 | {% load sorting_tags %} | |
3 | ||
4 | {% autosort chercheurs %} | |
5 | {% autopaginate chercheurs 20 %} | |
6 | ||
13146d99 | 7 | <h4>Répertoire des chercheurs</h4> |
9619910d EMS |
8 | <ul class="actions"> |
9 | {% include "chercheurs/actions.html" %} | |
10 | </ul> | |
34947443 AJ |
11 | |
12 | <div class="contenu-wrapper"> | |
13146d99 AJ |
13 | |
14 | <form method="get" action=""> | |
15 | <table id="repertoire_recherche"> | |
16 | {{repertoire_form.as_table}} | |
17 | <tr> | |
18 | <td colspan="2" class="Lib"> | |
19 | <input type="submit" class="bouton" value="Rechercher" /> | |
20 | </td> | |
21 | </tr> | |
22 | </table> | |
23 | </form> | |
24 | ||
25 | ||
26 | <p><strong>{{nb_chercheurs}} chercheurs correspondant à votre recherche :</strong></p> | |
27 | <div class="centre">{% paginate %}</div> | |
28 | <table id="repertoire"> | |
34947443 AJ |
29 | <tr> |
30 | <th>{% anchor personne__nom Nom %}</th> | |
73cabd75 | 31 | <th>{% anchor etablissement__nom Établissement %}</th> |
0e9597af | 32 | <th>{% anchor etablissement__pays Localisation %}</th> |
34947443 AJ |
33 | </tr> |
34 | {% for chercheur in chercheurs %} | |
13146d99 | 35 | <tr class="{% cycle 'odd' 'notodd' %}"> |
34947443 | 36 | <td><a href="{% url chercheurs.views.retrieve chercheur.id %}">{{ chercheur }}</a></td> |
6befc7c9 AJ |
37 | <td>{% firstof chercheur.etablissement chercheur.etablissement_autre_nom %}</td> |
38 | <td>{% firstof chercheur.etablissement.pays chercheur.etablissement_autre_pays %}</td> | |
34947443 AJ |
39 | </tr> |
40 | {% endfor %} | |
41 | </table> | |
13146d99 | 42 | <div class="centre">{% paginate %}</div> |
9f7c169e | 43 | </div> |