open-vault/ui/app/templates/components/secret-list/pki-cert-item.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

24 lines
862 B
Handlebars

<LinkedBlock
@params={{array (concat "vault.cluster.secrets.backend." "show" (unless @item.id "-root")) @item.idForNav}}
class="list-item-row"
data-test-secret-link={{@item.id}}
@encode={{true}}
>
<div class="columns is-mobile">
<div class="column is-10">
<LinkTo
@route={{concat "vault.cluster.secrets.backend." "show" (unless @item.id "-root")}}
@model={{@item.idForNav}}
class="has-text-black has-text-weight-semibold"
>
<Icon @name="file" class="has-text-grey-light is-pulled-left" />
<div class="role-item-details">
<span class="is-underline">{{if (eq @item.id " ") "(self)" (or @item.keyWithoutParent @item.id)}}</span>
</div>
</LinkTo>
</div>
<div class="column has-text-right">
<Pki::PkiCertPopup @item={{@item}} />
</div>
</div>
</LinkedBlock>