feat: 🎸 Add type badges for host-set

Add type badges for host-set
This commit is contained in:
Carlos Alcaide Corvo committed 2022-01-26 08:26:32 -08:00
1 parent 995c79804a
commit 3c794dfa4b
1 file changed
+15 -3
@@ -25,9 +25,21 @@
<p>{{hostSet.description}}</p>
</row.headerCell>
<row.cell>
<Rose::Badge>
{{t (concat 'resources.host-set.types.' hostSet.type)}}
</Rose::Badge>
{{#if hostSet.isStatic}}
<Rose::Badge>
{{t (concat 'resources.host-set.types.' hostSet.type)}}
</Rose::Badge>
{{else}}
<Rose::Badge
@icon={{concat
'flight-icons/svg/'
hostSet.compositeType
'-color-16'
}}
>
{{hostSet.compositeType}}
</Rose::Badge>
{{/if}}
</row.cell>
<row.cell>
<Copyable