mirror of
https://github.com/go-gitea/gitea.git
synced 2026-09-05 12:33:23 +09:00
refactor: pagination/pager (#39162)
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
{{if eq $paginationLink nil}}{{$paginationLink = ctx.RootData.Link}}{{end}}
|
||||
{{if eq $paginationLink AppSubUrl}}{{$paginationLink = print $paginationLink "/"}}{{end}}
|
||||
{{$paginationParams := $page.GetParams}}
|
||||
{{with $page.Paginater}}
|
||||
{{with $page.Paginator}}
|
||||
{{if or (eq .TotalPages -1) (gt .TotalPages 1)}}
|
||||
{{$showFirstLast := gt .TotalPages 1}}
|
||||
<div class="center page buttons">
|
||||
|
||||
Reference in New Issue
Block a user