Maybe fix crash on user page back paging

This commit is contained in:
Jason McBrayer 2019-05-06 10:55:45 -04:00
parent 5843a7e053
commit 0a7ac8d4e9

View File

@ -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>