mirror of
https://github.com/status-im/consul.git
synced 2025-02-01 00:16:27 +00:00
9d21736e9f
* Add copyright headers to UI files * Ensure copywrite file ignores external libs
18 lines
508 B
Handlebars
18 lines
508 B
Handlebars
{{!
|
|
Copyright (c) HashiCorp, Inc.
|
|
SPDX-License-Identifier: MPL-2.0
|
|
}}
|
|
|
|
<div class={{concat "with-confirmation" (if confirming " confirming" "")}} ...attributes>
|
|
{{yield}}
|
|
<YieldSlot @name="action" @params={{block-params (action "confirm") (action "cancel")}}>
|
|
{{#if (or permanent (not confirming))}}
|
|
{{yield}}
|
|
{{/if}}
|
|
</YieldSlot>
|
|
<YieldSlot @name="dialog" @params={{block-params (action "execute") (action "cancel") message actionName}}>
|
|
{{#if confirming }}
|
|
{{yield}}
|
|
{{/if}}
|
|
</YieldSlot>
|
|
</div> |