forked from mirrors/bookwyrm
8c26d8a514
- Fix duplicated IDs between modals for the same status. - Remove redundant button (https://github.com/mouse-reeve/bookwyrm/pull/680#discussion_r586743844). - Remove redundant `role="navigation"` on `<nav>`. - Add `dir="auto"` back for titles (https://github.com/mouse-reeve/bookwyrm/pull/680#discussion_r586715693). - Use `exists` instead of `all` for conditional statement (https://github.com/mouse-reeve/bookwyrm/pull/680#discussion_r586716299). - Fix missing spacing between avatar and username (https://github.com/mouse-reeve/bookwyrm/pull/680#discussion_r586740902).
20 lines
602 B
HTML
20 lines
602 B
HTML
{% load i18n %}
|
|
<nav class="pagination" aria-label="pagination">
|
|
{% if page.has_previous %}
|
|
<p class="pagination-previous">
|
|
<a href="{{ path }}?page={{ page.previous_page_number }}{{ anchor }}">
|
|
<span class="icon icon-arrow-left"></span>
|
|
{% trans "Previous" %}
|
|
</a>
|
|
</p>
|
|
{% endif %}
|
|
|
|
{% if page.has_next %}
|
|
<p class="pagination-next">
|
|
<a href="{{ path }}?page={{ page.next_page_number }}{{ anchor }}">
|
|
{% trans "Next" %}
|
|
<span class="icon icon-arrow-right"></span>
|
|
</a>
|
|
</p>
|
|
{% endif %}
|
|
</nav>
|