From 277d3be2bd2b6a583f4c23ec06aaa4cc220350c0 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Sun, 25 Jan 2026 12:22:47 -0600 Subject: [PATCH] remove agent version display --- .../live/agent_live/index.html.heex | 10 -------- .../live/agent_live/show.html.heex | 23 ++++--------------- 2 files changed, 5 insertions(+), 28 deletions(-) diff --git a/lib/towerops_web/live/agent_live/index.html.heex b/lib/towerops_web/live/agent_live/index.html.heex index b2155b6e..44d5daf2 100644 --- a/lib/towerops_web/live/agent_live/index.html.heex +++ b/lib/towerops_web/live/agent_live/index.html.heex @@ -84,11 +84,6 @@ <% end %> - <%= if agent.metadata["version"] do %> -
- v{agent.metadata["version"]} -
- <% end %> <:col :let={agent} label="Status"> @@ -194,11 +189,6 @@ Cloud Poller - <%= if agent.metadata["version"] do %> -
- v{agent.metadata["version"]} -
- <% end %> <:col :let={agent} label="Status"> diff --git a/lib/towerops_web/live/agent_live/show.html.heex b/lib/towerops_web/live/agent_live/show.html.heex index 017c15fc..93266395 100644 --- a/lib/towerops_web/live/agent_live/show.html.heex +++ b/lib/towerops_web/live/agent_live/show.html.heex @@ -85,27 +85,22 @@ - +
-

Agent Info

- <%= if @agent_token.metadata["version"] do %> +

Uptime

+ <%= if @agent_token.metadata["uptime_seconds"] do %>

- v{@agent_token.metadata["version"]} + {format_uptime(@agent_token.metadata["uptime_seconds"])}

<% else %>

Unknown

<% end %> - <%= if @agent_token.metadata["uptime_seconds"] do %> -

- Uptime: {format_uptime(@agent_token.metadata["uptime_seconds"])} -

- <% end %>
- <.icon name="hero-information-circle" class="h-8 w-8 text-gray-400 dark:text-gray-500" /> + <.icon name="hero-clock" class="h-8 w-8 text-gray-400 dark:text-gray-500" />
@@ -125,14 +120,6 @@ <% end %> - <%= if @agent_token.metadata["version"] do %> -
-
Version
-
- {@agent_token.metadata["version"]} -
-
- <% end %> <%= if @agent_token.metadata["uptime_seconds"] do %>
Uptime