diff --git a/ui/core/app/templates/scopes/scope/projects/project/host-catalogs/host-catalog/host-sets/host-set/hosts.hbs b/ui/core/app/templates/scopes/scope/projects/project/host-catalogs/host-catalog/host-sets/host-set/hosts.hbs index 4b068ba35..cc1964bf8 100644 --- a/ui/core/app/templates/scopes/scope/projects/project/host-catalogs/host-catalog/host-sets/host-set/hosts.hbs +++ b/ui/core/app/templates/scopes/scope/projects/project/host-catalogs/host-catalog/host-sets/host-set/hosts.hbs @@ -1,7 +1,23 @@ - +{{#if @model.hosts}} + +{{/if}} + +{{#unless @model.hosts}} + + + + {{t "descriptions.no-host-set-hosts"}} + + + + {{t "titles.new"}} + + + +{{/unless}} diff --git a/ui/core/translations/en-us.yaml b/ui/core/translations/en-us.yaml index 55783c623..69b41f0cc 100644 --- a/ui/core/translations/en-us.yaml +++ b/ui/core/translations/en-us.yaml @@ -86,6 +86,7 @@ titles: hosts: Hosts targets: Targets global: Global + no-host-set-hosts: No Hosts Available descriptions: host-catalogs: Overview of collections of hosts and host sets. empty-set: There are no items to display yet. You may be able to add items or try back later. @@ -98,6 +99,7 @@ descriptions: groups-welcome: Groups are collections of users. auth-methods-welcome: Auth methods are configurations to authenticate users. targets-welcome: Targets provide Users the means to connect to and interact networked services. A Target contains a collection of Hosts and a collection of Credentials. + no-host-set-hosts: Before associating hosts with this host set, create hosts within the host catalog. states: info: Info success: Success