Commit dbba1bdd authored by Baudouin Feildel's avatar Baudouin Feildel
Browse files

Improve pagination

parent b4d8449c
......@@ -4,7 +4,7 @@
<ul class="pagination">
{% if currentPage > 1 %}
<li>
<a href="?p={{ currentPage - 1 }}" aria-label="Précédent">
<a href="?p={{ currentPage - 1 }}" aria-label="Page précédente">
<span aria-hidden="true">&laquo;</span>
</a>
</li>
......@@ -20,13 +20,13 @@
{% if p != currentPage %}
<li><a href="?p={{ p }}">{{ p }}</a></li>
{% else %}
<li class="active"><span>{{ p }} <span class="sr-only">(page courante)</span></span></li>
<li class="active"><span aria-label="page courante">{{ p }}</span></li>
{% endif %}
{% endfor %}
{% if currentPage < pageCount %}
<li>
<a href="?p={{ currentPage + 1 }}" aria-label="Suivant">
<a href="?p={{ currentPage + 1 }}" aria-label="Page suivante">
<span aria-hidden="true">&raquo;</span>
</a>
</li>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment