mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 01:42:29 +03:00
74b08e19b8
no issue See https://github.com/emberjs/rfcs/blob/master/text/0689-deprecate-has-block.md
17 lines
562 B
Handlebars
17 lines
562 B
Handlebars
<LiquidWormhole @class="fullscreen-modal-container">
|
|
<div class="fullscreen-modal-background" {{action "clickOverlay"}}></div>
|
|
<div class={{this.modalClasses}}>
|
|
{{#if (has-block)}}
|
|
{{yield}}
|
|
{{else}}
|
|
{{#let (component this.modalPath) as |ModalComponent|}}
|
|
<ModalComponent
|
|
@model={{this.model}}
|
|
@confirm={{action "confirm"}}
|
|
@closeModal={{action "close"}}
|
|
/>
|
|
{{/let}}
|
|
{{/if}}
|
|
</div>
|
|
</LiquidWormhole>
|