open-vault/ui/app/templates/vault/cluster/secrets/backend/configuration.hbs

20 lines
701 B
Handlebars

{{secret-list-header model=model isConfigure=true backendCrumb=(hash label=model.id text=model.id path="vault.cluster.secrets.backend.list-root" model=model.id)}}
<div class="box is-fullwidth is-sideless is-paddingless is-marginless">
{{#each model.attrs as |attr|}}
{{#if (eq attr.type "object")}}
{{info-table-row
alwaysRender=true
label=(or attr.options.label (to-label attr.name))
value=(stringify (get model attr.name))
}}
{{else}}
{{info-table-row
alwaysRender=(not-eq attr.name 'options.version')
label=(or attr.options.label (to-label attr.name))
value=(get model attr.name)
}}
{{/if}}
{{/each}}
</div>