This commit adds a check that runs regularly as per
2d68e5d942 which tests the
credentials of groups with SMTP or IMAP enabled. If any issues
are found with those credentials a high priority problem is added to the
admin dashboard.
This commit also formats the admin dashboard differently if
there are high priority problems, bringing them to the top of
the list and highlighting them.
The problem will be cleared if the issue is fixed before the next
problem check, or if the group's settings are updated with a valid
credential.
57 lines
1.5 KiB
Handlebars
57 lines
1.5 KiB
Handlebars
{{plugin-outlet name="admin-dashboard-top"}}
|
|
|
|
{{#if showVersionChecks}}
|
|
<div class="section-top">
|
|
<div class="version-checks">
|
|
{{version-checks versionCheck=versionCheck tagName=""}}
|
|
</div>
|
|
</div>
|
|
{{/if}}
|
|
|
|
{{dashboard-problems
|
|
loadingProblems=loadingProblems
|
|
foundProblems=foundProblems
|
|
lowPriorityProblems=lowPriorityProblems
|
|
highPriorityProblems=highPriorityProblems
|
|
problemsTimestamp=problemsTimestamp
|
|
refreshProblems=(action "refreshProblems")
|
|
}}
|
|
|
|
<ul class="navigation">
|
|
<li class="navigation-item general">
|
|
{{#link-to "admin.dashboard.general" class="navigation-link"}}
|
|
{{i18n "admin.dashboard.general_tab"}}
|
|
{{/link-to}}
|
|
</li>
|
|
|
|
{{#if isModerationTabVisible}}
|
|
<li class="navigation-item moderation">
|
|
{{#link-to "admin.dashboardModeration" class="navigation-link"}}
|
|
{{i18n "admin.dashboard.moderation_tab"}}
|
|
{{/link-to}}
|
|
</li>
|
|
{{/if}}
|
|
|
|
{{#if isSecurityTabVisible}}
|
|
<li class="navigation-item security">
|
|
{{#link-to "admin.dashboardSecurity" class="navigation-link"}}
|
|
{{i18n "admin.dashboard.security_tab"}}
|
|
{{/link-to}}
|
|
</li>
|
|
{{/if}}
|
|
|
|
{{#if isReportsTabVisible}}
|
|
<li class="navigation-item reports">
|
|
{{#link-to "admin.dashboardReports" class="navigation-link"}}
|
|
{{i18n "admin.dashboard.reports_tab"}}
|
|
{{/link-to}}
|
|
</li>
|
|
{{/if}}
|
|
</ul>
|
|
|
|
{{outlet}}
|
|
|
|
{{dashboard-new-features tagName="div"}}
|
|
|
|
{{plugin-outlet name="admin-dashboard-bottom"}}
|