From bf4ca933c4686c8a11ddc3c482fbebdc73de9189 Mon Sep 17 00:00:00 2001 From: Ashton South Date: Mon, 18 Nov 2024 15:36:27 -0500 Subject: [PATCH] Move system-status percentage outside of status bar (#3964) move percentage outside of status bar so that it looks better. --- .../dashboard/app/views/system_status/index.turbo_stream.erb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/dashboard/app/views/system_status/index.turbo_stream.erb b/apps/dashboard/app/views/system_status/index.turbo_stream.erb index a90ecbd6cb..90491730ba 100644 --- a/apps/dashboard/app/views/system_status/index.turbo_stream.erb +++ b/apps/dashboard/app/views/system_status/index.turbo_stream.erb @@ -9,12 +9,13 @@ <% components_status(job_adapter).each do |current_status| %>
-
<%= current_status[:message] %>
+ <%= current_status[:message] %> <% if valid_percent?(current_status[:percent]) %>
-
<%= current_status[:percent] %> in use
+
+ <%= current_status[:percent] %> in use <% end %>
<% end %>