maybe fix repo creation dropdown

This commit is contained in:
hippoz 2021-05-06 14:49:14 +03:00
parent 5b8a19e9ad
commit c81b784a0a
No known key found for this signature in database
GPG key ID: 7C52899193467641

View file

@ -119,16 +119,16 @@
<span class="fitted not-mobile">{{svg "octicon-triangle-down"}}</span>
</span>
<div class="menu">
<a class="button-default" href="{{AppSubUrl}}/repo/create">
<a class="item" href="{{AppSubUrl}}/repo/create">
<span class="fitted">{{svg "octicon-plus"}}</span> {{.i18n.Tr "new_repo"}}
</a>
{{if not .DisableMigrations}}
<a class="button-default" href="{{AppSubUrl}}/repo/migrate">
<a class="item" href="{{AppSubUrl}}/repo/migrate">
<span class="fitted">{{svg "octicon-repo-push"}}</span> {{.i18n.Tr "new_migrate"}}
</a>
{{end}}
{{if .SignedUser.CanCreateOrganization}}
<a class="button-default" href="{{AppSubUrl}}/org/create">
<a class="item" href="{{AppSubUrl}}/org/create">
<span class="fitted">{{svg "octicon-organization"}}</span> {{.i18n.Tr "new_org"}}
</a>
{{end}}