forked from forgejo/forgejo
#1384 add pagination for repositories
This commit is contained in:
parent
1f2e173a74
commit
e74630ae3b
21 changed files with 360 additions and 192 deletions
|
@ -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">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue