Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-22 17:30:29 +01:00
30 Zeilen
715 B
Handlebars
30 Zeilen
715 B
Handlebars
|
{{#if submissions}}
|
||
|
<div class="wizard-header large">
|
||
|
<label>{{i18n 'admin.wizard.submissions.title' name=wizard.name}}</label>
|
||
|
|
||
|
<a class="btn btn-default download-link" href="{{downloadUrl}}" target="_blank">
|
||
|
{{d-icon 'download'}}
|
||
|
<span class="d-button-label">
|
||
|
{{i18n "admin.wizard.submissions.download"}}
|
||
|
</span>
|
||
|
</a>
|
||
|
</div>
|
||
|
|
||
|
<div class="wizard-submissions">
|
||
|
<table>
|
||
|
<tr>
|
||
|
{{#each fields as |f|}}
|
||
|
<th>{{f}}</th>
|
||
|
{{/each}}
|
||
|
</tr>
|
||
|
{{#each submissions as |s|}}
|
||
|
<tr>
|
||
|
{{#each-in s as |k v|}}
|
||
|
<td>{{v}}</td>
|
||
|
{{/each-in}}
|
||
|
</tr>
|
||
|
{{/each}}
|
||
|
</table>
|
||
|
</div>
|
||
|
{{/if}}
|