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