From 8daf6129d1d7e572f2ce5c18fd1c51f134989f16 Mon Sep 17 00:00:00 2001 From: Carlos Alcaide Corvo Date: Tue, 14 Dec 2021 10:39:15 -0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Add=20table=20header?= =?UTF-8?q?=20for=20hosts=20list=20within=20targets?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add table header for hosts list within targets --- .../scopes/scope/projects/targets/target/hosts.hbs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ui/desktop/app/templates/scopes/scope/projects/targets/target/hosts.hbs b/ui/desktop/app/templates/scopes/scope/projects/targets/target/hosts.hbs index 3a4dfbd65..86a5eb0b8 100644 --- a/ui/desktop/app/templates/scopes/scope/projects/targets/target/hosts.hbs +++ b/ui/desktop/app/templates/scopes/scope/projects/targets/target/hosts.hbs @@ -3,6 +3,15 @@ {{#if @model.hosts}} + + + {{t 'form.name.label'}} + {{t 'form.id.label'}} + {{t 'form.type.label'}} + {{t 'form.address.label'}} + + + {{#each @model.hosts as |host|}} @@ -19,12 +28,12 @@ {{host.id}} - {{host.attributes.address}} {{t (concat 'resources.host.types.' host.type) }} + {{host.attributes.address}} Date: Tue, 14 Dec 2021 15:44:51 -0800 Subject: [PATCH 2/2] Delete type column on hosts list --- .../scopes/scope/projects/targets/target/hosts.hbs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ui/desktop/app/templates/scopes/scope/projects/targets/target/hosts.hbs b/ui/desktop/app/templates/scopes/scope/projects/targets/target/hosts.hbs index 86a5eb0b8..48998ac4c 100644 --- a/ui/desktop/app/templates/scopes/scope/projects/targets/target/hosts.hbs +++ b/ui/desktop/app/templates/scopes/scope/projects/targets/target/hosts.hbs @@ -7,7 +7,6 @@ {{t 'form.name.label'}} {{t 'form.id.label'}} - {{t 'form.type.label'}} {{t 'form.address.label'}} @@ -28,11 +27,6 @@ {{host.id}} - - {{t - (concat 'resources.host.types.' host.type) - }} - {{host.attributes.address}}