discourse/app/assets/javascripts/admin/templates/dashboard-problems.hbs
Joffrey JAFFEUX f9648de897
DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808)
Co-Authored-By: Bianca Nenciu <nbianca@users.noreply.github.com>
Co-Authored-By: David Taylor <david@taylorhq.com>
2019-01-10 11:06:01 +01:00

28 lines
848 B
Handlebars

{{#if foundProblems}}
<div class="section dashboard-problems">
<div class="section-title">
<h2>
{{d-icon "exclamation-triangle"}}
{{i18n 'admin.dashboard.problems_found'}}
</h2>
</div>
<div class="section-body">
{{#conditional-loading-section isLoading=loadingProblems}}
<div class="problem-messages">
<ul>
{{#each problems as |problem|}}
<li>{{{problem}}}</li>
{{/each}}
</ul>
</div>
<p class="actions">
<small>{{i18n 'admin.dashboard.last_checked'}}: {{problemsTimestamp}}</small>
{{d-button action=(action "refreshProblems") class="btn-default btn-small" icon="refresh" label="admin.dashboard.refresh_problems"}}
</p>
{{/conditional-loading-section}}
</div>
</div>
{{/if}}