A platform for community discussion. Free, open, simple.
FIX: Tone down admin dashboard critical problem messaging (#15442)
Martin Brennaned83d7573e90
diff --git a/app/assets/javascripts/admin/addon/templates/components/dashboard-problems.hbs b/app/assets/javascripts/admin/addon/templates/components/dashboard-problems.hbsindex 755ec62c793..f866fa7e5ec 100644--- a/app/assets/javascripts/admin/addon/templates/components/dashboard-problems.hbs+++ b/app/assets/javascripts/admin/addon/templates/components/dashboard-problems.hbs@@ -1,17 +1,10 @@{{#if foundProblems}}<div class="section dashboard-problems"><div class="section-title">- {{#if highPriorityProblems.length}}- <h2>- {{d-icon "exclamation-triangle"}}- {{i18n "admin.dashboard.critical_problems_found"}}- </h2>- {{else}}- <h2>- {{d-icon "heart"}}- {{i18n "admin.dashboard.problems_found"}}- </h2>- {{/if}}+ <h2>+ {{d-icon "heart"}}+ {{i18n "admin.dashboard.problems_found"}}+ </h2></div><div class="section-body">@@ -20,7 +13,9 @@<div class="problem-messages priority-high"><ul>{{#each highPriorityProblems as |problem|}}- <li class={{concat "dashboard-problem " "priority-" problem.priority}}>{{html-safe problem.message}}</li>+ <li class={{concat "dashboard-problem " "priority-" problem.priority}}>+ {{d-icon "exclamation-triangle"}} {{html-safe problem.message}}+ </li>{{/each}}</ul></div>diff --git a/app/assets/stylesheets/common/admin/dashboard.scss b/app/assets/stylesheets/common/admin/dashboard.scssindex b9b84d7063c..5f8faf8036c 100644--- a/app/assets/stylesheets/common/admin/dashboard.scss+++ b/app/assets/stylesheets/common/admin/dashboard.scss@@ -238,7 +238,7 @@margin-bottom: 2em;.problem-messages {- margin-bottom: 1.25em;+ margin-bottom: 1em;&.priority-high {background-color: var(--danger-low);diff --git a/config/locales/client.en.yml b/config/locales/client.en.ymlindex 1a05c0a89b5..bac834ae433 100644--- a/config/locales/client.en.yml+++ b/config/locales/client.en.yml@@ -4005,7 +4005,6 @@ en:installed_version: "Installed"latest_version: "Latest"problems_found: "Some advice based on your current site settings"- critical_problems_found: "You have some high priority problems that must be addressed"new_features:title: "🎁 New Features"dismiss: "Dismiss"