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

28 Zeilen
671 B
Handlebars

2020-04-15 02:46:44 +02:00
<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}}