{{t 'resources.credential-store.title_plural'}}

{{#if @model}}

{{t 'resources.credential-store.description'}}

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

{{credentialStore.description}}

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