mirror of https://github.com/hashicorp/consul
9 lines
381 B
Handlebars
9 lines
381 B
Handlebars
{{yield}}
|
|
{{#if (eq state 'success') }}
|
|
{{#yield-slot 'success' (block-params transition)}}{{yield}}{{/yield-slot}}
|
|
{{else if (eq state 'error') }}
|
|
{{#yield-slot 'error' (block-params transition)}}{{yield}}{{/yield-slot}}
|
|
{{/if}}
|
|
{{#if (or permanent (eq state 'ready')) }}
|
|
{{#yield-slot 'action' (block-params success error)}}{{yield}}{{message}}{{/yield-slot}}
|
|
{{/if}} |