diff --git a/ui/admin/app/templates/scopes/scope/scopes/index.hbs b/ui/admin/app/templates/scopes/scope/scopes/index.hbs index 19a4168d5..18134a990 100644 --- a/ui/admin/app/templates/scopes/scope/scopes/index.hbs +++ b/ui/admin/app/templates/scopes/scope/scopes/index.hbs @@ -26,10 +26,12 @@ - {{#if @model.subScopes}} - - {{t 'titles.new'}} - + {{#if (can 'create collection' @model.currentScope collection='scopes')}} + {{#if @model.subScopes}} + + {{t 'titles.new'}} + + {{/if}} {{/if}} @@ -82,10 +84,14 @@ {{t 'resources.project.description'}} - - - {{t 'titles.new'}} - + {{#if + (can 'create collection' @model.currentScope collection='scopes') + }} + + + {{t 'titles.new'}} + + {{/if}} {{/if}}