Remove setup and superuser routes when SUPER_USERS is not enabled
Fixes #2064
This commit is contained in:
parent
a3c540efcb
commit
32627f3c2a
3 changed files with 12 additions and 10 deletions
|
@ -11,10 +11,10 @@
|
|||
<h4 ng-if="!info.for_repo && !info.namespace_exists">
|
||||
Return to the <a href="/">main page</a>
|
||||
</h4>
|
||||
<h4 ng-if="info && !info.namespace_exists">
|
||||
<h4 ng-if="info && !info.namespace_exists && info.namespace">
|
||||
<a href="/organizations/new?namespace={{ info.namespace }}">Create this namespace</a> or return to the <a href="/">main page</a>
|
||||
</h4>
|
||||
<h4 ng-if="info && info.for_repo && info.namespace_exists">
|
||||
<h4 ng-if="info && info.for_repo && info.namespace_exists && info.namespace">
|
||||
<a href="/new?namespace={{ info.namespace }}&name={{ info.repo_name }}">Create this repository</a> or return to the <a href="/">main page</a>
|
||||
</h4>
|
||||
</div>
|
||||
|
|
Reference in a new issue