discourse/app/assets/javascripts/admin/templates/dashboard-problems.hbs
romanrizzi f795c1b8e8 Revert "DEV: enforces ember-template-lint: no-triple-curlies (#9150)"
This reverts commit d436b600fb.

Triple curlies are still necessary for some raw templates.
2020-03-10 15:00:12 -03:00

28 lines
805 B
Handlebars

{{#if foundProblems}}
<div class="section dashboard-problems">
<div class="section-title">
<h2>
{{d-icon "heart"}}
{{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">
{{d-button action=(action "refreshProblems") class="btn-default" icon="sync" label="admin.dashboard.refresh_problems"}}
{{i18n 'admin.dashboard.last_checked'}}: {{problemsTimestamp}}
</p>
{{/conditional-loading-section}}
</div>
</div>
{{/if}}