From 8c47612977e54d0d4ad6b112a71df131fa48012e Mon Sep 17 00:00:00 2001 From: Carlos Alcaide Corvo Date: Thu, 27 Jan 2022 12:35:04 -0800 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Add=20type=20badges=20to?= =?UTF-8?q?=20host?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add type badges to host --- .../host-catalogs/host-catalog/hosts/index.hbs | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/ui/admin/app/templates/scopes/scope/host-catalogs/host-catalog/hosts/index.hbs b/ui/admin/app/templates/scopes/scope/host-catalogs/host-catalog/hosts/index.hbs index afd87cccc..c60732eea 100644 --- a/ui/admin/app/templates/scopes/scope/host-catalogs/host-catalog/hosts/index.hbs +++ b/ui/admin/app/templates/scopes/scope/host-catalogs/host-catalog/hosts/index.hbs @@ -27,9 +27,21 @@

{{host.description}}

- - {{t (concat 'resources.host.types.' host.type)}} - + {{#if host.isStatic}} + + {{t (concat 'resources.host.types.' host.type)}} + + {{else}} + + {{host.compositeType}} + + {{/if}}