open-consul/ui-v2/app/templates/components/confirmation-dialog.hbs

11 lines
274 B
Handlebars

{{yield}}
{{#if (or permanent (not confirming))}}
{{#yield-slot 'action' (block-params confirm cancel)}}
{{yield}}
{{/yield-slot}}
{{/if}}
{{#if confirming }}
{{#yield-slot 'dialog' (block-params execute cancel message actionName)}}
{{yield}}
{{/yield-slot}}
{{/if}}