Merge pull request #931 from hashicorp/feat-add-type-badges-host

feat: 🎸 Add type badges to host
This commit is contained in:
Carlos Alcaide Corvo authored and GitHub committed 2022-01-28 16:47:03 -06:00
commit 78bff7f0d8
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