master
Aevann1 2022-01-28 08:51:23 +02:00
parent d56b9984e0
commit 361a384608
1 changed files with 6 additions and 6 deletions

View File

@ -75,10 +75,10 @@
<ul class="pagination pagination-sm mb-0">
{% if page>1 %}
<li class="page-item">
{% if request.full_path == "/notifications?" %}
<small><a class="page-link" href="{{request.path}}?page={{page-1}}">Previous</a></small>
{% if request.args %}
<small><a class="page-link" href="{{request.full_path}}&page={{page-1}}">Previous</a></small>
{% else %}
<small><a class="page-link" href="{{request.path}}&page={{page-1}}">Previous</a></small>
<small><a class="page-link" href="{{request.path}}?page={{page-1}}">Previous</a></small>
{% endif %}
</li>
{% else %}
@ -87,10 +87,10 @@
{% if next_exists %}
<li class="page-item">
{% if request.full_path == "/notifications?" %}
<small><a class="page-link" href="{{request.path}}?page={{page+1}}">Next</a></small>
{% if request.args %}
<small><a class="page-link" href="{{request.full_path}}&page={{page+1}}">Next</a></small>
{% else %}
<small><a class="page-link" href="{{request.path}}&page={{page+1}}">Next</a></small>
<small><a class="page-link" href="{{request.path}}?page={{page+1}}">Next</a></small>
{% endif %}
</li>
{% else %}