0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-22 09:20:29 +01:00

DEV: Run Prettierđź’„

Dieser Commit ist enthalten in:
Keegan George 2021-09-02 15:43:34 -07:00
Ursprung 1e38001942
Commit 4abe30464c

Datei anzeigen

@ -1,16 +1,24 @@
{{#if submissions}}
<div class="wizard-header large">
<label>{{i18n "admin.wizard.submissions.title" name=wizard.name}}</label>
<label>
{{i18n "admin.wizard.submissions.title" name=wizard.name}}
</label>
<div class="controls">
{{d-button
icon="sliders-h"
label="admin.wizard.submissions.edit_columns"
icon="sliders-h"
label="admin.wizard.submissions.edit_columns"
action=(action "showEditColumnsModal")
class="btn-default open-edit-columns-btn download-link"}}
class="btn-default open-edit-columns-btn download-link"
}}
</div>
<a class="btn btn-default download-link" href={{downloadUrl}} target="_blank" rel="noopener noreferrer">
<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"}}
@ -21,14 +29,18 @@
<div class="wizard-submissions">
{{#load-more selector=".wizard-submissions tr" action=(action "loadMore")}}
{{#if noResults}}
<p>{{i18n "search.no_results"}}</p>
<p>
{{i18n "search.no_results"}}
</p>
{{else}}
<table>
<thead>
<tr>
{{#each fields as |field|}}
{{#if field.enabled}}
<th>{{field.label}}</th>
<th>
{{field.label}}
</th>
{{/if}}
{{/each}}
</tr>
@ -37,7 +49,9 @@
{{#each displaySubmissions as |submission|}}
<tr>
{{#each-in submission as |field value|}}
<td>{{submission-field fieldName=field value=value}}</td>
<td>
{{submission-field fieldName=field value=value}}
</td>
{{/each-in}}
</tr>
{{/each}}
@ -48,4 +62,4 @@
{{conditional-loading-spinner condition=loadingMore}}
{{/load-more}}
</div>
{{/if}}
{{/if}}