2018-05-14 11:07:59 +08:00
|
|
|
{{#if foundProblems}}
|
2018-06-12 18:47:03 +08:00
|
|
|
<div class="section dashboard-problems">
|
|
|
|
<div class="section-title">
|
|
|
|
<h2>
|
2019-01-17 07:05:43 +08:00
|
|
|
{{d-icon "heart"}}
|
2018-06-12 18:47:03 +08:00
|
|
|
{{i18n 'admin.dashboard.problems_found'}}
|
|
|
|
</h2>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="section-body">
|
|
|
|
{{#conditional-loading-section isLoading=loadingProblems}}
|
|
|
|
<div class="problem-messages">
|
|
|
|
<ul>
|
2018-05-14 11:07:59 +08:00
|
|
|
{{#each problems as |problem|}}
|
|
|
|
<li>{{{problem}}}</li>
|
|
|
|
{{/each}}
|
|
|
|
</ul>
|
2018-05-16 08:18:21 +08:00
|
|
|
</div>
|
2018-06-12 18:47:03 +08:00
|
|
|
|
2018-05-14 11:07:59 +08:00
|
|
|
<p class="actions">
|
2019-03-01 02:03:14 +08:00
|
|
|
{{d-button action=(action "refreshProblems") class="btn-default" icon="sync" label="admin.dashboard.refresh_problems"}}
|
2019-01-12 08:41:09 +08:00
|
|
|
{{i18n 'admin.dashboard.last_checked'}}: {{problemsTimestamp}}
|
2018-05-14 11:07:59 +08:00
|
|
|
</p>
|
2018-06-12 18:47:03 +08:00
|
|
|
{{/conditional-loading-section}}
|
2018-05-14 11:07:59 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|