aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorSamuel Johnson <[email protected]>2025-12-11 03:29:40 -0500
committerSamuel Johnson <[email protected]>2025-12-11 03:29:40 -0500
commit388456b88100aeeb6ca2c0806e1bffba381e944a (patch)
treeedc4c72718beb95d4aaf3fd6cce201cb203fb826 /ui
parent6e60ede1270c65654ee53e8a24cb310e0b1ab725 (diff)
Don't show next if there is no next
Diffstat (limited to 'ui')
-rw-r--r--ui/html/pages/index.tmpl.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/html/pages/index.tmpl.html b/ui/html/pages/index.tmpl.html
index 3f30833..fa5a9bb 100644
--- a/ui/html/pages/index.tmpl.html
+++ b/ui/html/pages/index.tmpl.html
@@ -49,7 +49,9 @@
{{if ne .Offset 0}}
<a href="/?offset={{sub .Offset 10}}" class="nav_tag">Previous</a>
{{end}}
- <a href="/?offset={{add .Offset 10}}">Next</a>
+ {{if .PagePopulated}}
+ <a href="/?offset={{add .Offset 10}}">Next</a>
+ {{end}}
</div>
</div>
{{end}}