open-vault/ui/app/templates/partials/secret-list/pki-cert-item.hbs

38 lines
908 B
Handlebars
Raw Normal View History

2018-07-10 19:38:02 +00:00
{{#linked-block
2018-04-03 14:16:57 +00:00
(concat
"vault.cluster.secrets.backend."
"show"
(if (not item.id) "-root")
)
item.idForNav
2018-07-10 19:38:02 +00:00
class="list-item-row"
2018-04-03 14:16:57 +00:00
data-test-secret-link=item.id
tagName="div"
}}
<div class="columns is-mobile">
<div class="column is-10">
{{#link-to
(concat
"vault.cluster.secrets.backend."
"show"
(if (not item.id) "-root")
)
item.idForNav
class="has-text-black has-text-weight-semibold"
}}
{{i-con
glyph="file"
size=14
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>
{{/link-to}}
</div>
<div class="column has-text-right">
{{pki-cert-popup item=item}}
</div>
</div>
2018-07-10 19:38:02 +00:00
{{/linked-block}}