From 388dce77186bb1c166fac6a68e8f0f9251e0dc23 Mon Sep 17 00:00:00 2001 From: Zankaria Date: Tue, 15 Oct 2024 00:15:54 +0200 Subject: [PATCH] view_ip.html: add links to previous and next cursors with mod_user_posts_by_ip --- templates/mod/view_ip.html | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/templates/mod/view_ip.html b/templates/mod/view_ip.html index 867312c4..958d75f0 100644 --- a/templates/mod/view_ip.html +++ b/templates/mod/view_ip.html @@ -18,7 +18,7 @@ {{ notes_length }} {% trans %}note on record{% plural notes_length %}notes on record{% endtrans %} - {% if notes|length > 0 %} + {% if notes and notes|length > 0 %} @@ -146,3 +146,12 @@
{% trans 'Staff' %}
{% endif %} +
+ [Page 1] + {% if cursor_prev %} + [Previous Page] + {% endif %} + {% if cursor_next %} + [Next Page] + {% endif %} +