mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
#1384 add pagination for repositories
This commit is contained in:
@@ -1 +1 @@
|
||||
0.9.53.0724
|
||||
0.9.54.0724
|
@@ -32,6 +32,7 @@
|
||||
<div class="ui divider"></div>
|
||||
{{end}}
|
||||
{{template "explore/repo_list" .}}
|
||||
{{template "explore/page" .}}
|
||||
</div>
|
||||
|
||||
<div class="ui five wide column">
|
||||
|
@@ -37,12 +37,17 @@
|
||||
</a>
|
||||
</li>
|
||||
{{end}}
|
||||
{{if gt .ContextUser.NumRepos .MaxShowRepoNum}}
|
||||
<li>
|
||||
<a href="{{.ContextUser.HomeLink}}">{{.i18n.Tr "home.show_more_repos"}}</a>
|
||||
</li>
|
||||
{{end}}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{{if not .ContextUser.IsOrganization}}
|
||||
<h4 class="ui top attached header">
|
||||
{{.i18n.Tr "home.collaborative_repos"}} <span class="ui grey label">{{.CollaborateCount}}</span>
|
||||
{{.i18n.Tr "home.collaborative_repos"}}
|
||||
</h4>
|
||||
<div class="ui attached table segment">
|
||||
<ul id="collaborative-repo-list">
|
||||
|
@@ -86,6 +86,7 @@
|
||||
</div>
|
||||
{{if ne .TabName "activity"}}
|
||||
{{template "explore/repo_list" .}}
|
||||
{{template "explore/page" .}}
|
||||
{{else}}
|
||||
<br>
|
||||
<div class="feeds">
|
||||
|
Reference in New Issue
Block a user