0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-15 06:12:54 +01:00
discourse-custom-wizard/assets/javascripts/discourse/templates/admin-wizards-submissions-show.hbs

34 Zeilen
813 B
Handlebars

2020-04-13 14:17:22 +02:00
{{#if submissions}}
<div class="wizard-header large">
2021-04-12 16:19:53 +02:00
<label>{{i18n "admin.wizard.submissions.title" name=wizard.name}}</label>
<a class="btn btn-default download-link" href={{downloadUrl}} target="_blank" rel="noopener noreferrer">
{{d-icon "download"}}
<span class="d-button-label">
{{i18n "admin.wizard.submissions.download"}}
</span>
2020-04-13 14:17:22 +02:00
</a>
</div>
<div class="wizard-submissions">
<table>
2021-04-12 16:19:53 +02:00
<thead>
2020-04-13 14:17:22 +02:00
<tr>
2021-04-12 16:19:53 +02:00
{{#each fields as |f|}}
<th>{{f}}</th>
{{/each}}
2020-04-13 14:17:22 +02:00
</tr>
2021-04-12 16:19:53 +02:00
</thead>
<tbody>
{{#each submissions as |s|}}
<tr>
{{#each-in s as |k v|}}
<td>{{v}}</td>
{{/each-in}}
</tr>
{{/each}}
</tbody>
2020-04-13 14:17:22 +02:00
</table>
</div>
{{/if}}