open-vault/ui/app/templates/components/identity/popup-members.hbs
Joshua Ogle 7eff7b51aa
UI: Confirm Action as a popover
* Refactors ConfirmAction implementation as a popover
* Improves copy surrounding consequences of destructive actions
* Moves 'Delete' buttons to Toolbar
2019-05-17 11:29:21 -06:00

17 lines
486 B
Handlebars

{{#popup-menu name="member-edit-menu"}}
<nav class="menu">
<ul class="menu-list">
<li class="action">
<ConfirmAction
@buttonClasses="link is-destroy"
@confirmButtonText="Remove this group?"
@confirmMessage="This may affect permissions for this group."
@onConfirmAction={{action "performTransaction" model groupArray memberId}}
>
Remove
</ConfirmAction>
</li>
</ul>
</nav>
{{/popup-menu}}