diff options
Diffstat (limited to 'templates/base/head.tmpl')
-rw-r--r-- | templates/base/head.tmpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index fe14742510..847503022e 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -94,9 +94,11 @@ <a class="item" href="{{AppSubUrl}}/repo/migrate"> <i class="octicon octicon-repo-clone"></i> {{.i18n.Tr "new_migrate"}} </a> + {{if .SignedUser.CanCreateOrganization}} <a class="item" href="{{AppSubUrl}}/org/create"> <i class="octicon octicon-organization"></i> {{.i18n.Tr "new_org"}} </a> + {{end}} </div><!-- end content create new menu --> </div><!-- end dropdown menu create new --> |