0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-22 17:30:29 +01:00
discourse-custom-wizard/assets/javascripts/discourse/templates/admin-wizards-logs.hbs

34 Zeilen
801 B
Handlebars

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