forked from DGNum/gestiojeux
15 lines
564 B
HTML
15 lines
564 B
HTML
{% if page_obj.has_other_pages %}
|
|
{% load url_params %}
|
|
<div class="pagination">
|
|
<a{% if page_obj.has_previous %} href="?{% replace_url_param request page=page_obj.previous_page_number %}"{% endif %}>
|
|
<i class="fa fa-arrow-left" aria-hidden="true"></i> Précédent
|
|
</a>
|
|
<div>
|
|
Page {{ page_obj.number }} sur {{ paginator.num_pages }}
|
|
</div>
|
|
<a{% if page_obj.has_next %} href="?{% replace_url_param request page=page_obj.next_page_number %}"{% endif %}>
|
|
Suivant <i class="fa fa-arrow-right" aria-hidden="true"></i>
|
|
</a>
|
|
</div>
|
|
{% endif %}
|
|
|