mirror of
https://github.com/go-gitea/gitea.git
synced 2025-04-12 10:48:46 +03:00

The pagination on the user dashboard sounds unnecessary, this will change it to a prev/next buttons. For instances with around `10 million` records in the action table, this option affects how the user dashboard is loaded on first visit. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: Giteabot <teabot@gitea.io>
18 lines
529 B
Handlebars
18 lines
529 B
Handlebars
{{template "base/head" .}}
|
|
<div role="main" aria-label="{{.Title}}" class="page-content dashboard feeds">
|
|
{{template "user/dashboard/navbar" .}}
|
|
<div class="ui container flex-container">
|
|
<div class="flex-container-main">
|
|
{{template "base/alert" .}}
|
|
{{template "user/heatmap" .}}
|
|
{{if .Page.Paginater.TotalPages}}
|
|
{{template "user/dashboard/feeds" .}}
|
|
{{else}}
|
|
{{template "user/dashboard/guide" .}}
|
|
{{end}}
|
|
</div>
|
|
{{template "user/dashboard/repolist" .}}
|
|
</div>
|
|
</div>
|
|
{{template "base/footer" .}}
|