mirror of
https://github.com/status-im/consul.git
synced 2025-02-07 19:35:35 +00:00
* Modify templates with codemods angle brackets * ui: Fix up problem with intention filter action attribute Co-authored-by: Kenia <19161242+kaxcode@users.noreply.github.com>
16 lines
574 B
Handlebars
16 lines
574 B
Handlebars
<FeedbackDialog @type="inline">
|
|
<BlockSlot @name="action" as |success error|>
|
|
<CopyButton @success={{action success}} @error={{action error}} @clipboardText={{copy}} @title={{concat "Copy " name " to the clipboard"}}>{{#if hasBlock }}{{yield}}{{else}}{{value}}{{/if}}</CopyButton>
|
|
</BlockSlot>
|
|
<BlockSlot @name="success" as |transition|>
|
|
<p class={{transition}}>
|
|
Copied {{name}}!
|
|
</p>
|
|
</BlockSlot>
|
|
<BlockSlot @name="error" as |transition|>
|
|
<p class={{transition}}>
|
|
Sorry, something went wrong!
|
|
</p>
|
|
</BlockSlot>
|
|
</FeedbackDialog>
|