0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-29 20:20:29 +01:00
discourse-custom-wizard/assets/javascripts/discourse/templates/admin-wizards-logs.hbs
2020-04-15 10:46:44 +10:00

28 Zeilen
Kein EOL
671 B
Handlebars

<div class="admin-wizard-controls">
{{d-button label="refresh" icon="refresh" action="refresh"}}
</div>
{{#load-more selector=".log-list tr" action=(action "loadMore")}}
{{#if noResults}}
<p>{{i18n 'search.no_results'}}</p>
{{else}}
<table class="table grid">
<thead>
<tr>
<th>Message</th>
<th>Date</th>
</tr>
</thead>
<tbody>
{{#each logs as |log|}}
<tr>
<td>{{log.message}}</td>
<td>{{bound-date log.date}}</td>
</tr>
{{/each}}
</tbody>
</table>
{{/if}}
{{conditional-loading-spinner condition=refreshing}}
{{/load-more}}