diff --git a/addons/core/translations/resources/en-us.yaml b/addons/core/translations/resources/en-us.yaml index dacd49846..5b5b02e45 100644 --- a/addons/core/translations/resources/en-us.yaml +++ b/addons/core/translations/resources/en-us.yaml @@ -84,19 +84,15 @@ host-catalog: title: Welcome to Host Catalogs actions: delete: Delete Host Catalog + help: + static: Provide a list of hosts and host sets with static addresses + dynamic: Automate discovery of target hosts and services on Azure or AWS types: - static: - label: Static - help: Provide a list of hosts and host sets with static addresses - unknown: - label: Unknown - aws: - label: AWS - azure: - label: Azure - dynamic: - label: Dynamic - help: Automate discovery of target hosts and services on Azure or AWS + static: Static + unknown: Plugin + aws: AWS + azure: Azure + dynamic: Dynamic host-set: title: Host Set title_plural: Host Sets @@ -121,16 +117,6 @@ host-set: add-none: title: No Hosts Available description: No hosts available for selection. - types: - static: - label: Static - help: Provide a list of hosts and host sets with static addresses - unknown: - label: Unknown - aws: - label: AWS - azure: - label: Azure host: title: Host title_plural: Hosts @@ -148,16 +134,6 @@ host: add: Add Host create: New Host delete: Delete Host - types: - static: - label: Static - help: Provide a list of hosts and host sets with static addresses - unknown: - label: Unknown - aws: - label: AWS - azure: - label: Azure session: title: Session title_plural: Sessions diff --git a/ui/admin/app/components/form/host-catalog/aws/index.hbs b/ui/admin/app/components/form/host-catalog/aws/index.hbs index 7a15bee5a..a7dd66371 100644 --- a/ui/admin/app/components/form/host-catalog/aws/index.hbs +++ b/ui/admin/app/components/form/host-catalog/aws/index.hbs @@ -57,15 +57,15 @@ as |radioGroup| > @@ -89,13 +89,13 @@ as |radioGroup| > @@ -88,13 +88,13 @@ as |radioGroup| > @@ -90,12 +90,12 @@ as |radioGroup| > diff --git a/ui/admin/app/components/form/host-set/aws/index.hbs b/ui/admin/app/components/form/host-set/aws/index.hbs index 9d00ff2a4..d609ef456 100644 --- a/ui/admin/app/components/form/host-set/aws/index.hbs +++ b/ui/admin/app/components/form/host-set/aws/index.hbs @@ -65,7 +65,7 @@ as |radioGroup| > - {{t (concat 'resources.host-catalog.types.' @model.compositeType '.label')}} + {{t (concat 'resources.host-catalog.types.' @model.compositeType)}} {{else if @model.isUnknown}} - {{t (concat 'resources.host-catalog.types.' @model.compositeType '.label')}} + {{t (concat 'resources.host-catalog.types.' @model.compositeType)}} {{else}} - {{t (concat 'resources.host-catalog.types.' @model.compositeType '.label')}} + {{t (concat 'resources.host-catalog.types.' @model.compositeType)}} {{/if}} \ No newline at end of file diff --git a/ui/admin/app/routes/scopes/scope/host-catalogs/host-catalog/host-sets/new.js b/ui/admin/app/routes/scopes/scope/host-catalogs/host-catalog/host-sets/new.js index 38b1c86c6..040ee98d3 100644 --- a/ui/admin/app/routes/scopes/scope/host-catalogs/host-catalog/host-sets/new.js +++ b/ui/admin/app/routes/scopes/scope/host-catalogs/host-catalog/host-sets/new.js @@ -18,7 +18,6 @@ export default class ScopesScopeHostCatalogsHostCatalogHostSetsNewRoute extends if (this.currentModel?.isNew) { this.currentModel.rollbackAttributes(); } - console.log('typedwed', compositeType); return this.store.createRecord('host-set', { compositeType, host_catalog_id, diff --git a/ui/admin/app/templates/scopes/scope/host-catalogs/host-catalog/hosts/index.hbs b/ui/admin/app/templates/scopes/scope/host-catalogs/host-catalog/hosts/index.hbs index 089a05165..0371cefac 100644 --- a/ui/admin/app/templates/scopes/scope/host-catalogs/host-catalog/hosts/index.hbs +++ b/ui/admin/app/templates/scopes/scope/host-catalogs/host-catalog/hosts/index.hbs @@ -27,25 +27,7 @@

{{host.description}}

- {{#if host.isStatic}} - - {{t - (concat 'resources.host.types.' host.compositeType '.label') - }} - - {{else}} - - {{t - (concat 'resources.host.types.' host.compositeType '.label') - }} - - {{/if}} +