diff options
author | r <r@freesoftwareextremist.com> | 2019-12-15 06:55:13 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2019-12-15 06:55:13 +0000 |
commit | 51a4b16af518fde883df50f7f627fda21c18065e (patch) | |
tree | 26cc0c66a85db79bc0fc25d102998bf297329d28 /templates | |
parent | e129ea922e6cbe8966f9a9f0b1c6c94401516c61 (diff) | |
download | bloat-51a4b16af518fde883df50f7f627fda21c18065e.tar.gz bloat-51a4b16af518fde883df50f7f627fda21c18065e.zip |
Fix prev pagination
Diffstat (limited to 'templates')
-rw-r--r-- | templates/timeline.tmpl | 14 |
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"}} |