{{t 'resources.group.title_plural'}}

{{t 'resources.group.description'}}

{{#if (can 'create collection' this.scope collection='groups')}} {{#if @model}} {{t 'titles.new' }} {{/if}} {{/if}} {{#if @model}} {{t 'form.name.label'}} {{t 'form.id.label'}} {{#each @model as |group|}} {{#if (can 'read model' group)}} {{group.displayName}} {{else}} {{group.displayName}} {{/if}}

{{group.description}}

{{group.id}}
{{/each}}
{{else}} {{#if (can 'list collection' this.scope collection='groups')}} {{! can list (at least): show default welcome message}} {{t 'resources.group.description'}} {{else if (can 'create collection' this.scope collection='groups')}} {{! can create (only): show create-but-not-list welcome message}} {{t 'descriptions.create-but-not-list' resource=(t 'resources.group.title_plural') }} {{else}} {{! can neither list nor create }} {{t 'descriptions.neither-list-nor-create' resource=(t 'resources.group.title_plural') }} {{/if}} {{#if (can 'create collection' this.scope collection='groups')}} {{t 'titles.new'}} {{/if}} {{/if}}