ajoute des indicateurs de tri à toutes les colonnes

This commit is contained in:
Benjamin Dauvergne 2012-07-23 23:07:11 +02:00
parent aa2d380098
commit 7c59eba33a
1 changed files with 7 additions and 7 deletions

View File

@ -87,15 +87,15 @@ Pour obtenir des détails sur une demande, cliquer sur sa ligne.
<tr>
<th></th>
<th>N&deg;</th>
<th><a href="{% sort_url 'user' %}">Demandeur (commanditaire)</a></th>
<th><a href="{% sort_url 'entity__name' %}">Service</a></th>
<th><a href="{% sort_url 'nb_pages' %}">Nb. pages</a></th>
<th><a href="{% sort_url 'copies' %}">Nb. copies</a></th>
<th><a href="{% sort_url 'user' %}">{% sort_indicator 'user' '↑' '↓' '' %}Demandeur (commanditaire)</a></th>
<th><a href="{% sort_url 'entity__name' %}">{% sort_indicator 'entity__name' '↑' '↓' '' %}Service</a></th>
<th><a href="{% sort_url 'nb_pages' %}">{% sort_indicator 'nb_pages' '↑' '↓' '' %}Nb. pages</a></th>
<th><a href="{% sort_url 'copies' %}">{% sort_indicator 'copies' '↑' '↓' '' %}Nb. copies</a></th>
<th><a href="{% sort_url 'status' %}">{% sort_indicator 'status' '↑' '↓' '' %}ÉTAT</a></th>
<th><a href="{% sort_url 'creation_date' %}">{% sort_indicator 'creation_date' '↑' '↓' '' %}Création</a></th>
<th><a href="{% sort_url 'delivery_date' %}">Livraison</a></th>
<th><a href="{% sort_url 'financial_code' %}">Code financier</a></th>
<th><a href="{% sort_url 'cost' %}">Coût</a></th>
<th><a href="{% sort_url 'delivery_date' %}">{% sort_indicator 'delivery_date' '↑' '↓' '' %}Livraison</a></th>
<th><a href="{% sort_url 'financial_code' %}">{% sort_indicator 'financial_code' '↑' '↓' '' %}Code financier</a></th>
<th><a href="{% sort_url 'cost' %}">{% sort_indicator 'cost' '↑' '↓' '' %}Coût</a></th>
</tr>
</thead>
<tbody>