aboutsummaryrefslogtreecommitdiffhomepage
path: root/apioforum/templates/view_forum.html
diff options
context:
space:
mode:
authorthe lemons <citrons@mondecitronne.com>2022-03-01 13:00:36 -0600
committerubq323 <ubq323@ubq323.website>2022-03-02 14:59:08 +0000
commit3644b35b92494965edb4916fdb368fd49c8d4bf2 (patch)
tree72615047f97b423ff1455605b18e3c8a558093a2 /apioforum/templates/view_forum.html
parentb96542d91a7fb8ce6c4275b97f72b90c5227d6f3 (diff)
improve pagination navigation
* pages show more content * the navigation bar is shown regardless of scroll position * the navigation bar now lives in a box * the navigation bar adapts to small screen sizes I changed the padding now.
Diffstat (limited to 'apioforum/templates/view_forum.html')
-rw-r--r--apioforum/templates/view_forum.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/apioforum/templates/view_forum.html b/apioforum/templates/view_forum.html
index 75144c8..649c87c 100644
--- a/apioforum/templates/view_forum.html
+++ b/apioforum/templates/view_forum.html
@@ -84,6 +84,7 @@ you do not have permission to create threads in this forum
{% endif %}
{% if has_permission(forum.id, g.user, "p_view_threads", login_required=False) %}
+{{ pagination_nav(page,max_pageno,'forum.view_forum',forum_id=forum.id) }}
<div class="thread-list">
{%for thread in threads%}
<div class="listing">
@@ -133,7 +134,6 @@ you do not have permission to create threads in this forum
</div>
{%endfor%}
</div>
-{{ pagination_nav(page,max_pageno,'forum.view_forum',forum_id=forum.id) }}
{% else %}