open-vault/ui/app/templates/components/pki/pki-cert-popup.hbs
Angel Garbarino b06573a903
Move PKI components to PKI Folder (#15963)
* params

* fix tests

* role-pki to pki-role

* role-pki-edit to pki/role-pki-edit

* configure-pki-secret component

* config-pki and config-pki-ca components

* fix tests

* pki-cert-show and pki-cert-popup

* fix
2022-06-14 10:18:06 -06:00

25 lines
812 B
Handlebars

<PopupMenu @name="role-aws-nav" @contentClass="is-wide">
<nav class="menu">
<ul class="menu-list">
<li class="action">
<LinkTo @route="vault.cluster.secrets.backend.show" @model={{@item.idForNav}} data-test-pki-cert-link="show">
Details
</LinkTo>
</li>
{{#if @item.canRevoke}}
<li class="action">
<ConfirmAction
@buttonClasses="link is-destroy"
@onConfirmAction={{fn this.delete @item}}
@confirmTitle="Revoke this cert?"
@confirmMessage="Any services using this cert may be affected."
@confirmButtonText="Revoke"
data-test-cert-revoke-delete={{@item.id}}
>
Revoke
</ConfirmAction>
</li>
{{/if}}
</ul>
</nav>
</PopupMenu>