aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2019-12-15 06:55:13 +0000
committerr <r@freesoftwareextremist.com>2019-12-15 06:55:13 +0000
commit51a4b16af518fde883df50f7f627fda21c18065e (patch)
tree26cc0c66a85db79bc0fc25d102998bf297329d28 /templates
parente129ea922e6cbe8966f9a9f0b1c6c94401516c61 (diff)
downloadbloat-51a4b16af518fde883df50f7f627fda21c18065e.tar.gz
bloat-51a4b16af518fde883df50f7f627fda21c18065e.zip
Fix prev pagination
Diffstat (limited to 'templates')
-rw-r--r--templates/timeline.tmpl14
1 files changed, 8 insertions, 6 deletions
diff --git a/templates/timeline.tmpl b/templates/timeline.tmpl
index 51bf12e..527c91b 100644
--- a/templates/timeline.tmpl
+++ b/templates/timeline.tmpl
@@ -16,10 +16,12 @@
{{template "status.tmpl" .}}
{{end}}
-{{if .HasNext}}
- <a href="{{.NextLink}}"> next </a>
-{{end}}
-{{if .HasPrev}}
- <a href="{{.PrevLink}}"> next </a>
-{{end}}
+<div class="pagination">
+ {{if .HasPrev}}
+ <a href="{{.PrevLink}}">prev</a>
+ {{end}}
+ {{if .HasNext}}
+ <a href="{{.NextLink}}">next</a>
+ {{end}}
+</div>
{{template "footer.tmpl"}}