FIX: Tone down admin dashboard critical problem messaging (#15442)
Keep the title the same as it used to be and only show the exclamation icon on the critical problems in the list.
This commit is contained in:
parent
b22450c7a8
commit
ed83d7573e
|
@ -1,17 +1,10 @@
|
||||||
{{#if foundProblems}}
|
{{#if foundProblems}}
|
||||||
<div class="section dashboard-problems">
|
<div class="section dashboard-problems">
|
||||||
<div class="section-title">
|
<div class="section-title">
|
||||||
{{#if highPriorityProblems.length}}
|
|
||||||
<h2>
|
|
||||||
{{d-icon "exclamation-triangle"}}
|
|
||||||
{{i18n "admin.dashboard.critical_problems_found"}}
|
|
||||||
</h2>
|
|
||||||
{{else}}
|
|
||||||
<h2>
|
<h2>
|
||||||
{{d-icon "heart"}}
|
{{d-icon "heart"}}
|
||||||
{{i18n "admin.dashboard.problems_found"}}
|
{{i18n "admin.dashboard.problems_found"}}
|
||||||
</h2>
|
</h2>
|
||||||
{{/if}}
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="section-body">
|
<div class="section-body">
|
||||||
|
@ -20,7 +13,9 @@
|
||||||
<div class="problem-messages priority-high">
|
<div class="problem-messages priority-high">
|
||||||
<ul>
|
<ul>
|
||||||
{{#each highPriorityProblems as |problem|}}
|
{{#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}}
|
{{/each}}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -238,7 +238,7 @@
|
||||||
margin-bottom: 2em;
|
margin-bottom: 2em;
|
||||||
|
|
||||||
.problem-messages {
|
.problem-messages {
|
||||||
margin-bottom: 1.25em;
|
margin-bottom: 1em;
|
||||||
|
|
||||||
&.priority-high {
|
&.priority-high {
|
||||||
background-color: var(--danger-low);
|
background-color: var(--danger-low);
|
||||||
|
|
|
@ -4005,7 +4005,6 @@ en:
|
||||||
installed_version: "Installed"
|
installed_version: "Installed"
|
||||||
latest_version: "Latest"
|
latest_version: "Latest"
|
||||||
problems_found: "Some advice based on your current site settings"
|
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:
|
new_features:
|
||||||
title: "🎁 New Features"
|
title: "🎁 New Features"
|
||||||
dismiss: "Dismiss"
|
dismiss: "Dismiss"
|
||||||
|
|
Loading…
Reference in New Issue