From b823b5e8486e1c21d3207b5e94047dcfcb19e91b Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Sun, 8 Feb 2026 11:40:58 -0600 Subject: [PATCH] feat: display cloud poller name on device page Show the specific cloud poller name (e.g., dfw, lon) alongside "Cloud" when a device is assigned to a cloud poller. Displays as "Cloud (dfw)" instead of just "Cloud" for better visibility of which poller is being used. When no agent is assigned, continues to show just "Cloud". --- lib/towerops_web/live/device_live/show.html.heex | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/towerops_web/live/device_live/show.html.heex b/lib/towerops_web/live/device_live/show.html.heex index 779ceeec..2be53dc5 100644 --- a/lib/towerops_web/live/device_live/show.html.heex +++ b/lib/towerops_web/live/device_live/show.html.heex @@ -69,7 +69,12 @@ <%= if @agent_info.type == :cloud do %> - <.icon name="hero-cloud" class="h-3.5 w-3.5" /> Cloud + <.icon name="hero-cloud" class="h-3.5 w-3.5" /> + <%= if @agent_info.agent_token_id do %> + Cloud ({@agent_info.name}) + <% else %> + Cloud + <% end %> <% else %>