From 7f13365336ce4f74c3dd8cf42c64bea6cab8006b Mon Sep 17 00:00:00 2001 From: Carlos Alcaide Date: Fri, 23 Jul 2021 11:28:11 -0700 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Add=20credential=20store?= =?UTF-8?q?s=20empty=20list=20message?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add credential stores empty list message with link to create a new one. --- addons/core/translations/resources/en-us.yaml | 5 +++- .../scopes/scope/credential-stores/index.hbs | 23 ++++++++++++++++++- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/addons/core/translations/resources/en-us.yaml b/addons/core/translations/resources/en-us.yaml index 9d8564288..72f062f7b 100644 --- a/addons/core/translations/resources/en-us.yaml +++ b/addons/core/translations/resources/en-us.yaml @@ -270,7 +270,10 @@ target: credential-store: title: Credential Store title_plural: Credential Stores - description: A credential stores is a collection of credentials and credential libraries. + description: A credential store is a collection of credentials and credential libraries. + messages: + welcome: + title: Welcome to Credential Stores actions: delete: Delete Credential Store credential-library: diff --git a/ui/admin/app/templates/scopes/scope/credential-stores/index.hbs b/ui/admin/app/templates/scopes/scope/credential-stores/index.hbs index c8ff3b098..7b6e88c9e 100644 --- a/ui/admin/app/templates/scopes/scope/credential-stores/index.hbs +++ b/ui/admin/app/templates/scopes/scope/credential-stores/index.hbs @@ -8,7 +8,9 @@ {{t 'resources.credential-store.title_plural'}} -

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

+ {{#if @model}} +

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

+ {{/if}} @@ -61,6 +63,25 @@ {{/each}} + + {{else}} + + + + {{t 'resources.credential-store.description'}} + + + + {{t 'titles.new'}} + + + + {{/if}} + + \ No newline at end of file