diff --git a/deploy-board/deploy_board/templates/hosts/host_details.html b/deploy-board/deploy_board/templates/hosts/host_details.html index 18e3263ab8..c07ef40dc6 100644 --- a/deploy-board/deploy_board/templates/hosts/host_details.html +++ b/deploy-board/deploy_board/templates/hosts/host_details.html @@ -42,11 +42,21 @@ {% if agent_wrappers %}
+ {% if has_host_env_sidecar_agents %} + {% include "panel_heading.tmpl" with panel_title="Sidecar Agent Details" panel_body_id="sidecarAgentDetailsId" direction="down" copy_host_name_button=True %} +
+ This is a sidecar deployment on the host. The relevant sidecar has been marked with a blue background for visibility. + {% else %} {% include "panel_heading.tmpl" with panel_title="Sidecar Agent Details" panel_body_id="sidecarAgentDetailsId" direction="right" copy_host_name_button=True %}
+ {% endif %} {% for agent_wrapper in agent_wrappers.sidecars %} {% with env=agent_wrapper.env agent=agent_wrapper.agent hostdetailsvalue=host_details|getValue:"Phobos Link" %} + {% if env and env_name == env.envName and stage_name == env.stageName %} + {% include "hosts/host_details.tmpl" with agent=agent env=env hostdetailsvalue=hostdetailsvalue host_related_sidecar=1%} + {% else %} {% include "hosts/host_details.tmpl" with agent=agent env=env hostdetailsvalue=hostdetailsvalue%} + {% endif %} {% endwith %} {% endfor %}
diff --git a/deploy-board/deploy_board/templates/hosts/host_details.tmpl b/deploy-board/deploy_board/templates/hosts/host_details.tmpl index 28058f96eb..e383dfe41a 100644 --- a/deploy-board/deploy_board/templates/hosts/host_details.tmpl +++ b/deploy-board/deploy_board/templates/hosts/host_details.tmpl @@ -1,6 +1,10 @@ {% load utils %}
+ {% if host_related_sidecar %} +
+