fix: 🐛 remove duplicate types from host/host-set

This commit is contained in:
dharini committed 2022-02-14 11:21:14 -08:00
1 parent f2b91e3011
commit 18dcd341c7
10 files changed
+28 -32

No files matched your search

@@ -121,16 +121,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 +138,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
@@ -65,7 +65,7 @@
as |radioGroup|
>
<radioGroup.card
@label={{t 'resources.host-set.types.aws.label'}}
@label={{t 'resources.host-catalog.types.aws.label'}}
@value={{@model.compositeType}}
@layout='tile'
@icon='flight-icons/svg/aws-color-16'
@@ -65,7 +65,7 @@
as |radioGroup|
>
<radioGroup.card
@label={{t 'resources.host-set.types.azure.label'}}
@label={{t 'resources.host-catalog.types.azure.label'}}
@value={{@model.compositeType}}
@layout='tile'
@icon='flight-icons/svg/azure-color-16'
@@ -63,7 +63,7 @@
as |radioGroup|
>
<radioGroup.card
@label={{t 'resources.host.types.aws.label'}}
@label={{t 'resources.host-catalog.types.aws.label'}}
@value={{@model.compositeType}}
@layout='tile'
@icon={{concat 'flight-icons/svg/' @model.compositeType '-color-16'}}
@@ -63,7 +63,7 @@
as |radioGroup|
>
<radioGroup.card
@label={{t 'resources.host.types.azure.label'}}
@label={{t 'resources.host-catalog.types.azure.label'}}
@value={{@model.compositeType}}
@layout='tile'
@icon={{concat 'flight-icons/svg/' @model.compositeType '-color-16'}}
@@ -35,7 +35,7 @@
<row.cell>{{hostSet.name}}</row.cell>
<row.cell>
<Rose::Badge>{{t
(concat 'resources.host-set.types.' hostSet.type)
(concat 'resources.host-catalog.types.' hostSet.type)
}}</Rose::Badge>
</row.cell>
<row.cell>
@@ -28,7 +28,11 @@
<row.cell>
{{#if host.isStatic}}
<Rose::Badge>
{{t (concat 'resources.host.types.' host.compositeType)}}
{{t
(concat
'resources.host-catalog.types.' host.compositeType '.label'
)
}}
</Rose::Badge>
{{else}}
<Rose::Badge
@@ -38,7 +42,11 @@
'-color-16'
}}
>
{{t (concat 'resources.host.types.' host.compositeType)}}
{{t
(concat
'resources.host-catalog.types.' host.compositeType '.label'
)
}}
</Rose::Badge>
{{/if}}
</row.cell>
@@ -29,7 +29,9 @@
<Rose::Badge>
{{t
(concat
'resources.host-set.types.' hostSet.compositeType '.label'
'resources.host-catalog.types.'
hostSet.compositeType
'.label'
)
}}
</Rose::Badge>
@@ -43,7 +45,9 @@
>
{{t
(concat
'resources.host-set.types.' hostSet.compositeType '.label'
'resources.host-catalog.types.'
hostSet.compositeType
'.label'
)
}}
</Rose::Badge>
@@ -30,7 +30,9 @@
{{#if host.isStatic}}
<Rose::Badge>
{{t
(concat 'resources.host.types.' host.compositeType '.label')
(concat
'resources.host-catalog.types.' host.compositeType '.label'
)
}}
</Rose::Badge>
{{else}}
@@ -42,7 +44,9 @@
}}
>
{{t
(concat 'resources.host.types.' host.compositeType '.label')
(concat
'resources.host-catalog.types.' host.compositeType '.label'
)
}}
</Rose::Badge>
{{/if}}
@@ -39,7 +39,7 @@
</row.headerCell>
<row.cell>
<Rose::Badge>{{t
(concat 'resources.host-set.types.' hostSet.model.type)
(concat 'resources.host-catalog.types.' hostSet.model.type)
}}</Rose::Badge>
</row.cell>
<row.cell>