Put buttons back in org dashboard (#18817)

Fix #18523
tokarchuk/v1.17
Lunny Xiao 3 years ago committed by GitHub
parent 159c3f48af
commit 931c2f40e7
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