mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 19:53:53 -06:00
FIX: Double footer in install-theme modal (#23503)
This commit is contained in:
parent
3a8c0d0408
commit
935625ce2c
@ -167,32 +167,30 @@
|
||||
</:body>
|
||||
<:footer>
|
||||
{{#unless this.popular}}
|
||||
<div class="modal-footer">
|
||||
{{#if this.duplicateRemoteThemeWarning}}
|
||||
<div class="install-theme-warning">
|
||||
⚠️
|
||||
{{this.duplicateRemoteThemeWarning}}
|
||||
</div>
|
||||
{{/if}}
|
||||
{{#if this.themeCannotBeInstalled}}
|
||||
<div class="install-theme-warning">
|
||||
⚠️
|
||||
{{this.themeCannotBeInstalled}}
|
||||
</div>
|
||||
{{/if}}
|
||||
<DButton
|
||||
@action={{this.installTheme}}
|
||||
@disabled={{this.installDisabled}}
|
||||
class="btn
|
||||
{{if this.themeCannotBeInstalled 'btn-danger' 'btn-primary'}}"
|
||||
@label={{this.submitLabel}}
|
||||
/>
|
||||
<DButton
|
||||
class="btn-flat d-modal-cancel"
|
||||
@action={{@closeModal}}
|
||||
@label="cancel"
|
||||
/>
|
||||
</div>
|
||||
{{#if this.duplicateRemoteThemeWarning}}
|
||||
<div class="install-theme-warning">
|
||||
⚠️
|
||||
{{this.duplicateRemoteThemeWarning}}
|
||||
</div>
|
||||
{{/if}}
|
||||
{{#if this.themeCannotBeInstalled}}
|
||||
<div class="install-theme-warning">
|
||||
⚠️
|
||||
{{this.themeCannotBeInstalled}}
|
||||
</div>
|
||||
{{/if}}
|
||||
<DButton
|
||||
@action={{this.installTheme}}
|
||||
@disabled={{this.installDisabled}}
|
||||
class="btn
|
||||
{{if this.themeCannotBeInstalled 'btn-danger' 'btn-primary'}}"
|
||||
@label={{this.submitLabel}}
|
||||
/>
|
||||
<DButton
|
||||
class="btn-flat d-modal-cancel"
|
||||
@action={{@closeModal}}
|
||||
@label="cancel"
|
||||
/>
|
||||
{{/unless}}
|
||||
</:footer>
|
||||
</DModal>
|
Loading…
Reference in New Issue
Block a user