mirror of
https://github.com/go-gitea/gitea.git
synced 2026-09-05 20:43:24 +09:00
refactor: pagination/pager (#39162)
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<div class="flex-container-main">
|
||||
{{template "base/alert" .}}
|
||||
{{template "user/heatmap" .}}
|
||||
{{if .Page.Paginater.TotalPages}}
|
||||
{{if .Page.Paginator.TotalPages}}
|
||||
{{template "user/dashboard/feeds" .}}
|
||||
{{else}}
|
||||
{{template "user/dashboard/guide" .}}
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
{{DateUtils.TimeSince $one.UpdatedUnix}}
|
||||
{{end}}
|
||||
</div>
|
||||
<form class="notifications-buttons form-fetch-action" action="{{AppSubUrl}}/notifications/status?type={{$.PageType}}&page={{$.Page.Paginater.Current}}&perPage={{$.Page.Paginater.PagingNum}}" method="post"
|
||||
<form class="notifications-buttons form-fetch-action" action="{{AppSubUrl}}/notifications/status?type={{$.PageType}}&page={{$.Page.Paginator.Current}}&perPage={{$.Page.Paginator.PagingNum}}" method="post"
|
||||
data-fetch-sync="$body #notification_div"
|
||||
>
|
||||
<input type="hidden" name="notification_id" value="{{$one.ID}}">
|
||||
|
||||
Reference in New Issue
Block a user