mirror of https://github.com/hashicorp/consul
9 lines
408 B
Handlebars
9 lines
408 B
Handlebars
{{yield}}
|
|
{{#if (eq state 'success') }}
|
|
<YieldSlot @name="success" @params={{block-params transition}}>{{yield}}</YieldSlot>
|
|
{{else if (eq state 'error') }}
|
|
<YieldSlot @name="error" @params={{block-params transition}}>{{yield}}</YieldSlot>
|
|
{{/if}}
|
|
{{#if (or permanent (eq state 'ready')) }}
|
|
<YieldSlot @name="action" @params={{block-params success error}}>{{yield}}{{message}}</YieldSlot>
|
|
{{/if}} |