mirror of https://gitlab.com/brutaldon/brutaldon
Maybe fix crash on user page back paging
This commit is contained in:
parent
5843a7e053
commit
0a7ac8d4e9
|
@ -120,7 +120,7 @@ Brutaldon ({{ own_acct.username }}) - {{ user.acct }} timelime
|
|||
{% endfor %}
|
||||
<nav class="pagination is-centered" role="navigation" aria-label="pagination">
|
||||
{% if prev %}
|
||||
<a class="pagination-next" href="{% url 'user_prev' user.acct prev.since_id %}">Newer</a>
|
||||
<a class="pagination-next" href="{% url 'user_prev' user.acct prev.min_id %}">Newer</a>
|
||||
{% endif %}
|
||||
{% if next %}
|
||||
<a class="pagination-previous" href="{% url 'user_next' user.acct next.max_id %}">Older</a>
|
||||
|
|
Loading…
Reference in New Issue