feat: 🎸 Add type badges to host

Add type badges to host
This commit is contained in:
Carlos Alcaide Corvo committed 2022-01-27 12:35:04 -08:00
1 parent e150b15f00
commit 8c47612977
1 file changed
+15 -3
@@ -27,9 +27,21 @@
<p>{{host.description}}</p>
</row.headerCell>
<row.cell>
<Rose::Badge>
{{t (concat 'resources.host.types.' host.type)}}
</Rose::Badge>
{{#if host.isStatic}}
<Rose::Badge>
{{t (concat 'resources.host.types.' host.type)}}
</Rose::Badge>
{{else}}
<Rose::Badge
@icon={{concat
'flight-icons/svg/'
host.compositeType
'-color-16'
}}
>
{{host.compositeType}}
</Rose::Badge>
{{/if}}
</row.cell>
<row.cell>
<Copyable