1
0
Fork 0

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}} {{#if submissions}}
<div class="wizard-header large"> <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"> <div class="controls">
{{d-button {{d-button
icon="sliders-h" icon="sliders-h"
label="admin.wizard.submissions.edit_columns" label="admin.wizard.submissions.edit_columns"
action=(action "showEditColumnsModal") action=(action "showEditColumnsModal")
class="btn-default open-edit-columns-btn download-link"}} class="btn-default open-edit-columns-btn download-link"
}}
</div> </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"}} {{d-icon "download"}}
<span class="d-button-label"> <span class="d-button-label">
{{i18n "admin.wizard.submissions.download"}} {{i18n "admin.wizard.submissions.download"}}
@ -21,14 +29,18 @@
<div class="wizard-submissions"> <div class="wizard-submissions">
{{#load-more selector=".wizard-submissions tr" action=(action "loadMore")}} {{#load-more selector=".wizard-submissions tr" action=(action "loadMore")}}
{{#if noResults}} {{#if noResults}}
<p>{{i18n "search.no_results"}}</p> <p>
{{i18n "search.no_results"}}
</p>
{{else}} {{else}}
<table> <table>
<thead> <thead>
<tr> <tr>
{{#each fields as |field|}} {{#each fields as |field|}}
{{#if field.enabled}} {{#if field.enabled}}
<th>{{field.label}}</th> <th>
{{field.label}}
</th>
{{/if}} {{/if}}
{{/each}} {{/each}}
</tr> </tr>
@ -37,7 +49,9 @@
{{#each displaySubmissions as |submission|}} {{#each displaySubmissions as |submission|}}
<tr> <tr>
{{#each-in submission as |field value|}} {{#each-in submission as |field value|}}
<td>{{submission-field fieldName=field value=value}}</td> <td>
{{submission-field fieldName=field value=value}}
</td>
{{/each-in}} {{/each-in}}
</tr> </tr>
{{/each}} {{/each}}