1 {% load pagination_tags %}
2 {% load sorting_tags %}
4 {% autosort chercheurs %}
5 {% autopaginate chercheurs
20 %}
7 <h4>Répertoire des chercheurs
</h4>
9 <div class=
"contenu-wrapper">
11 <form method=
"get" action=
"">
12 <table id=
"repertoire_recherche">
13 {{repertoire_form.as_table}}
15 <td colspan=
"2" class=
"Lib">
16 <input type=
"submit" class=
"bouton" value=
"Rechercher" />
23 <p><strong>{{nb_chercheurs}} chercheurs correspondant à votre recherche :
</strong></p>
24 <div class=
"centre">{% paginate %}
</div>
25 <table id=
"repertoire">
27 <th>{% anchor personne__nom Nom %}
</th>
28 <th>{% anchor etablissement__nom Établissement %}
</th>
29 <th>{% anchor pays__nom Localisation %}
</th>
31 {% for chercheur in chercheurs %}
32 <tr class=
"{% cycle 'odd' 'notodd' %}">
33 <td><a href=
"{% url chercheurs.views.retrieve chercheur.id %}">{{ chercheur }}
</a></td>
34 <td>{% firstof chercheur.etablissement chercheur.etablissement_autre_nom %}
</td>
35 <td>{% firstof chercheur.etablissement.pays chercheur.etablissement_autre_pays %}
</td>
39 <div class=
"centre">{% paginate %}
</div>