mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 22:02:11 +03:00
7b593e5df0
refs 2527a856ce
- typo `confirm/config` in previous commit that refactored fullscreen modal template
17 lines
559 B
Handlebars
17 lines
559 B
Handlebars
<LiquidWormhole @class="fullscreen-modal-container">
|
|
<div class="fullscreen-modal-background" {{action "clickOverlay"}}></div>
|
|
<div class={{this.modalClasses}}>
|
|
{{#if hasBlock}}
|
|
{{yield}}
|
|
{{else}}
|
|
{{#let (component this.modalPath) as |ModalComponent|}}
|
|
<ModalComponent
|
|
@model={{this.model}}
|
|
@confirm={{action "confirm"}}
|
|
@closeModal={{action "close"}}
|
|
/>
|
|
{{/let}}
|
|
{{/if}}
|
|
</div>
|
|
</LiquidWormhole>
|