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> |
34947443 AJ |
8 | |
9 | <div class="contenu-wrapper"> | |
13146d99 AJ |
10 | |
11 | <form method="get" action=""> | |
12 | <table id="repertoire_recherche"> | |
13 | {{repertoire_form.as_table}} | |
14 | <tr> | |
15 | <td colspan="2" class="Lib"> | |
16 | <input type="submit" class="bouton" value="Rechercher" /> | |
17 | </td> | |
18 | </tr> | |
19 | </table> | |
20 | </form> | |
21 | ||
22 | ||
23 | <p><strong>{{nb_chercheurs}} chercheurs correspondant à votre recherche :</strong></p> | |
24 | <div class="centre">{% paginate %}</div> | |
25 | <table id="repertoire"> | |
34947443 AJ |
26 | <tr> |
27 | <th>{% anchor personne__nom Nom %}</th> | |
73cabd75 AJ |
28 | <th>{% anchor etablissement__nom Établissement %}</th> |
29 | <th>{% anchor pays__nom Localisation %}</th> | |
34947443 AJ |
30 | </tr> |
31 | {% for chercheur in chercheurs %} | |
13146d99 | 32 | <tr class="{% cycle 'odd' 'notodd' %}"> |
34947443 | 33 | <td><a href="{% url chercheurs.views.retrieve chercheur.id %}">{{ chercheur }}</a></td> |
6befc7c9 AJ |
34 | <td>{% firstof chercheur.etablissement chercheur.etablissement_autre_nom %}</td> |
35 | <td>{% firstof chercheur.etablissement.pays chercheur.etablissement_autre_pays %}</td> | |
34947443 AJ |
36 | </tr> |
37 | {% endfor %} | |
38 | </table> | |
13146d99 | 39 | <div class="centre">{% paginate %}</div> |
9f7c169e AJ |
40 | </div> |
41 |