Merge pull request #927 from hashicorp/feature-add-type-badges-host-set

feat: 🎸 Add type badges for host-set
This commit is contained in:
Carlos Alcaide Corvo authored and GitHub committed 2022-01-27 12:04:06 -06:00
commit d269d27e2c
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