Put buttons back in org dashboard (#18817) (#18825)

Backport #18817

Fix #18523
pull/18828/head^2
Lunny Xiao 3 years ago committed by GitHub
parent bec566282e
commit db4c7dcf15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      templates/org/home.tmpl

@ -29,6 +29,15 @@
</div>
<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">
<strong class="f1">{{.i18n.Tr "org.people"}}</strong>
{{if .IsOrganizationMember}}

Loading…
Cancel
Save