Revision 43a5b181
Added by Frédéric Péters over 12 years ago
calebasse/dossiers/templates/dossiers/index.html | ||
---|---|---|
111 | 111 |
</tbody> |
112 | 112 |
</table> |
113 | 113 |
|
114 |
{% if request.GET %} |
|
115 |
<div class="pagination"> |
|
116 |
<span class="step-links"> |
|
117 |
{% if patient_records.has_previous %} |
|
118 |
<a href="?{{ query }}&page={{ patient_records.previous_page_number }}">««</a> |
|
119 |
{% endif %} |
|
120 |
|
|
121 |
<span class="current"> |
|
122 |
page {{ patient_records.number }} de {{ patient_records.paginator.num_pages }} |
|
123 |
</span> |
|
124 |
|
|
125 |
{% if patient_records.has_next %} |
|
126 |
<a href="?{{ query }}&page={{ patient_records.next_page_number }}">»»</a> |
|
127 |
{% endif %} |
|
128 |
</span> |
|
129 |
</div> |
|
130 |
{% endif %} |
|
131 |
|
|
132 |
|
|
114 | 133 |
{% if not request.GET %} |
115 | 134 |
<div class="big-msg-info"> |
116 | 135 |
Utilisez le formulaire de recherche sur la gauche de l'écran pour afficher |
Also available in: Unified diff
dossiers: add pagination to listings (#2094)