about summary refs log tree commit diff
path: root/app/views/admin
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2023-03-16 22:47:01 +0100
committerGitHub <noreply@github.com>2023-03-16 22:47:01 +0100
commit8fdf49b11deca38f4dcb39179daf8c56de25b938 (patch)
tree1430cb8e80bf646aa76fba1afa8782b2e538de7c /app/views/admin
parent75e5a6e43738c278390c03c96d5d3e8575a2783c (diff)
Add warning for object storage misconfiguration (#24137)
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/dashboard/index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/dashboard/index.html.haml b/app/views/admin/dashboard/index.html.haml
index e05215327..ab7cb9de6 100644
--- a/app/views/admin/dashboard/index.html.haml
+++ b/app/views/admin/dashboard/index.html.haml
@@ -12,7 +12,7 @@
 - unless @system_checks.empty?
   .flash-message-stack
     - @system_checks.each do |message|
-      .flash-message.warning
+      .flash-message{ class: message.critical ? 'alert' : 'warning' }
         = t("admin.system_checks.#{message.key}.message_html", value: message.value ? content_tag(:strong, message.value) : nil)
         - if message.action
           = link_to t("admin.system_checks.#{message.key}.action"), message.action