mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2025-05-01 09:34:21 +00:00
Fix prev pagination
This commit is contained in:
parent
e129ea922e
commit
51a4b16af5
3 changed files with 40 additions and 14 deletions
|
@ -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"}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue