Remove some code duplication by moving the robot and team creation dialogs to the create service

This commit is contained in:
Joseph Schorr 2015-04-08 11:54:04 -04:00
parent 4b64236d8e
commit 7bdd7c5f82
4 changed files with 48 additions and 62 deletions

View file

@ -62,9 +62,9 @@
<i class="fa fa-hdd-o"></i> New Repository
</a>
</li>
<li role="presentation" class="divider" ng-if="getNamespace(currentPageContext)"></li>
<li role="presentation" class="divider" ng-if="getNamespace(currentPageContext) && canAdmin(getNamespace(currentPageContext))"></li>
<li role="presentation" class="dropdown-header"
ng-if="getNamespace(currentPageContext)">
ng-if="getNamespace(currentPageContext) && canAdmin(getNamespace(currentPageContext))">
Namespace {{ getNamespace(currentPageContext) }}
</li>
<li ng-if="isOrganization(getNamespace(currentPageContext)) && canAdmin(getNamespace(currentPageContext))">