|
|
@ -56,14 +56,14 @@ |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
<div class="menu"> |
|
|
|
<div class="menu"> |
|
|
|
<a class="item" href="{{AppSubUrl}}/repo/create"> |
|
|
|
<a class="item" href="{{AppSubUrl}}/repo/create"> |
|
|
|
<i class="fitted octicon octicon-plus"></i> {{.i18n.Tr "new_repo"}} |
|
|
|
<i class="octicon octicon-plus"></i> {{.i18n.Tr "new_repo"}} |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
<a class="item" href="{{AppSubUrl}}/repo/migrate"> |
|
|
|
<a class="item" href="{{AppSubUrl}}/repo/migrate"> |
|
|
|
<i class="fitted octicon octicon-repo-clone"></i> {{.i18n.Tr "new_migrate"}} |
|
|
|
<i class="octicon octicon-repo-clone"></i> {{.i18n.Tr "new_migrate"}} |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
{{if .SignedUser.CanCreateOrganization}} |
|
|
|
{{if .SignedUser.CanCreateOrganization}} |
|
|
|
<a class="item" href="{{AppSubUrl}}/org/create"> |
|
|
|
<a class="item" href="{{AppSubUrl}}/org/create"> |
|
|
|
<i class="fitted octicon octicon-organization"></i> {{.i18n.Tr "new_org"}} |
|
|
|
<i class="octicon octicon-organization"></i> {{.i18n.Tr "new_org"}} |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
</div><!-- end content create new menu --> |
|
|
|
</div><!-- end content create new menu --> |
|
|
|