diff options
author | Claire <claire.github-309c@sitedethib.com> | 2021-04-06 11:17:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-06 11:17:52 +0200 |
commit | df326b8b5c0659edb2aca77690a892f228b0e099 (patch) | |
tree | 0d6b014047fa80270377b83e313aa882923c9429 /app/views/admin | |
parent | 39b9a0619ab4ba68ed429152153cf0dbbfcd5a5a (diff) | |
parent | 5c225b03db280c94dc3519dc5bad2cac86487e9b (diff) |
Merge pull request #1519 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/views/admin')
-rw-r--r-- | app/views/admin/dashboard/index.html.haml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/admin/dashboard/index.html.haml b/app/views/admin/dashboard/index.html.haml index 249e12563..f2f0c813d 100644 --- a/app/views/admin/dashboard/index.html.haml +++ b/app/views/admin/dashboard/index.html.haml @@ -1,6 +1,14 @@ - content_for :page_title do = t('admin.dashboard.title') +- unless @system_checks.empty? + .flash-message-stack + - @system_checks.each do |message| + .flash-message.warning + = t("admin.system_checks.#{message.key}.message_html", message.value ? { value: content_tag(:strong, message.value) } : {}) + - if message.action + = link_to t("admin.system_checks.#{message.key}.action"), message.action + .dashboard__counters %div = link_to admin_accounts_url(local: 1, recent: 1) do |