discourse/app/assets/javascripts/admin/addon/templates/components/dashboard-problems.hbs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
802 B
Handlebars
Raw Normal View History

{{#if foundProblems}}
<div class="section dashboard-problems">
<div class="section-title">
<h2>
2019-01-16 18:05:43 -05:00
{{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>{{html-safe problem}}</li>
{{/each}}
</ul>
2018-05-15 20:18:21 -04:00
</div>
<p class="actions">
{{d-button 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}}