FIX: Double footer in install-theme modal (#23503)
This commit is contained in:
parent
3a8c0d0408
commit
935625ce2c
|
@ -167,32 +167,30 @@
|
||||||
</:body>
|
</:body>
|
||||||
<:footer>
|
<:footer>
|
||||||
{{#unless this.popular}}
|
{{#unless this.popular}}
|
||||||
<div class="modal-footer">
|
{{#if this.duplicateRemoteThemeWarning}}
|
||||||
{{#if this.duplicateRemoteThemeWarning}}
|
<div class="install-theme-warning">
|
||||||
<div class="install-theme-warning">
|
⚠️
|
||||||
⚠️
|
{{this.duplicateRemoteThemeWarning}}
|
||||||
{{this.duplicateRemoteThemeWarning}}
|
</div>
|
||||||
</div>
|
{{/if}}
|
||||||
{{/if}}
|
{{#if this.themeCannotBeInstalled}}
|
||||||
{{#if this.themeCannotBeInstalled}}
|
<div class="install-theme-warning">
|
||||||
<div class="install-theme-warning">
|
⚠️
|
||||||
⚠️
|
{{this.themeCannotBeInstalled}}
|
||||||
{{this.themeCannotBeInstalled}}
|
</div>
|
||||||
</div>
|
{{/if}}
|
||||||
{{/if}}
|
<DButton
|
||||||
<DButton
|
@action={{this.installTheme}}
|
||||||
@action={{this.installTheme}}
|
@disabled={{this.installDisabled}}
|
||||||
@disabled={{this.installDisabled}}
|
class="btn
|
||||||
class="btn
|
{{if this.themeCannotBeInstalled 'btn-danger' 'btn-primary'}}"
|
||||||
{{if this.themeCannotBeInstalled 'btn-danger' 'btn-primary'}}"
|
@label={{this.submitLabel}}
|
||||||
@label={{this.submitLabel}}
|
/>
|
||||||
/>
|
<DButton
|
||||||
<DButton
|
class="btn-flat d-modal-cancel"
|
||||||
class="btn-flat d-modal-cancel"
|
@action={{@closeModal}}
|
||||||
@action={{@closeModal}}
|
@label="cancel"
|
||||||
@label="cancel"
|
/>
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
</:footer>
|
</:footer>
|
||||||
</DModal>
|
</DModal>
|
Loading…
Reference in New Issue