mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-09-25 04:05:55 +00:00
Support pagination of organizations on user settings pages (#16083)
* Add pagination for user setting orgs * Use FindOrgs instead of GetOrgsByUserID * Remove unnecessary functions and fix test * remove unnecessary code
This commit is contained in:
parent
ed23a6c397
commit
c2ab19888f
7 changed files with 108 additions and 34 deletions
|
@ -29,6 +29,7 @@
|
|||
</div>
|
||||
{{end}}
|
||||
</div>
|
||||
{{template "base/paginate" .}}
|
||||
{{else}}
|
||||
{{.i18n.Tr "settings.orgs_none"}}
|
||||
{{end}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue