37 lines
908 B
Handlebars
37 lines
908 B
Handlebars
{{#linked-block
|
|
(concat
|
|
"vault.cluster.secrets.backend."
|
|
"credentials"
|
|
(if (not item.id) "-root")
|
|
)
|
|
item.id
|
|
class="list-item-row"
|
|
data-test-secret-link=item.id
|
|
}}
|
|
<div class="columns is-mobile">
|
|
<div class="column is-10">
|
|
{{#link-to
|
|
(concat
|
|
"vault.cluster.secrets.backend."
|
|
"credentials"
|
|
(if (not item.id) "-root")
|
|
)
|
|
item.id
|
|
class="has-text-black has-text-weight-semibold"
|
|
}}
|
|
{{i-con
|
|
glyph="role"
|
|
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">
|
|
{{partial 'partials/role-aws/popup-menu'}}
|
|
</div>
|
|
</div>
|
|
{{/linked-block}}
|