0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 07:43:18 -05:00

Put buttons back in org dashboard (#18817)

Fix #18523
This commit is contained in:
Lunny Xiao 2022-02-19 20:08:12 +08:00 committed by GitHub
parent 159c3f48af
commit 931c2f40e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,6 +29,15 @@
</div> </div>
<div class="ui five wide column"> <div class="ui five wide column">
{{if .CanCreateOrgRepo}}
<div class="center aligned">
<a class="ui green button" href="{{AppSubUrl}}/repo/create?org={{.Org.ID}}">{{.i18n.Tr "new_repo"}}</a>
{{if not .DisableNewPullMirrors}}
<a class="ui green button" href="{{AppSubUrl}}/repo/migrate?org={{.Org.ID}}&mirror=1">{{.i18n.Tr "new_migrate"}}</a>
{{end}}
</div>
<div class="ui divider"></div>
{{end}}
<h4 class="ui top attached header df"> <h4 class="ui top attached header df">
<strong class="f1">{{.i18n.Tr "org.people"}}</strong> <strong class="f1">{{.i18n.Tr "org.people"}}</strong>
{{if .IsOrganizationMember}} {{if .IsOrganizationMember}}