Skip to content

Commit

Permalink
Put buttons back in org dashboard (#18817) (#18825)
Browse files Browse the repository at this point in the history
Backport #18817

Fix #18523
  • Loading branch information
lunny authored Feb 20, 2022
1 parent bec5662 commit db4c7dc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions templates/org/home.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down

0 comments on commit db4c7dc

Please sign in to comment.