From bc4befafad7a95e45ba2db4d865e007d2688778d Mon Sep 17 00:00:00 2001 From: Cesar Pillihuaman Date: Tue, 4 Jun 2024 15:16:05 -0500 Subject: [PATCH] pr suggestions --- deploy-board/deploy_board/templates/host_side_panel.html | 4 +--- deploy-board/deploy_board/templates/hosts/hosts.tmpl | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/deploy-board/deploy_board/templates/host_side_panel.html b/deploy-board/deploy_board/templates/host_side_panel.html index e3b2d79554..63c5c05b46 100644 --- a/deploy-board/deploy_board/templates/host_side_panel.html +++ b/deploy-board/deploy_board/templates/host_side_panel.html @@ -6,9 +6,7 @@

Hosts

{% if pinterest %}

- {% if not instance_protected %} - Host is not protected. - {% else %} + {% if instance_protected %} Host is protected. {% endif %}

diff --git a/deploy-board/deploy_board/templates/hosts/hosts.tmpl b/deploy-board/deploy_board/templates/hosts/hosts.tmpl index e3fc05b1fe..e581704ae6 100644 --- a/deploy-board/deploy_board/templates/hosts/hosts.tmpl +++ b/deploy-board/deploy_board/templates/hosts/hosts.tmpl @@ -45,7 +45,7 @@ LastUpdate ErrorCode {% if show_protection_status %} - Protected + ProtectionStatus {% endif %} {% for agent in agents %} @@ -90,8 +90,6 @@ {% if agent.hostId in protected_hosts %} Protected - {% else %} - Not protected {% endif %} {% endif %}