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

35 Zeilen
793 B
Handlebars

2020-04-15 02:46:44 +02:00
<div class="admin-wizard-controls">
2021-04-12 16:19:53 +02:00
<h3>{{i18n "admin.wizard.log.nav_label"}}</h3>
2020-04-15 04:10:39 +02:00
{{d-button
label="refresh"
icon="sync"
2020-04-15 04:10:39 +02:00
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}}
2021-04-12 16:19:53 +02:00
<p>{{i18n "search.no_results"}}</p>
2020-04-15 02:46:44 +02:00
{{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>
2021-04-12 16:19:53 +02:00
</table>
2020-04-15 02:46:44 +02:00
{{/if}}
2021-04-12 16:19:53 +02:00
2020-04-15 02:46:44 +02:00
{{conditional-loading-spinner condition=refreshing}}
{{/load-more}}