mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2026-01-07 20:51:28 +00:00
* refactor findAll to use internal/ui/mounts when authenticated as well * format ttl in details view * include hours in format for easy comparison to CLI return * Revert "include hours in format for easy comparison to CLI return" This reverts commit 990aaf5d1e157ccd83389ecd54011b8971f7e52d. * add changelog * revert adapter change * add new adapter method instead of updating existing * add test for ttl * revert and use findAll again * update mirage endpoints * remove query obj * Revert "update mirage endpoints" This reverts commit f5fb333bf46b8ee86fbd134cbbd9fde85a72c9a1. * another one that snuck into a separate commit * use adapterOption to manage endpoint logic * add adapter tests * Update changelog/26663.txt Co-authored-by: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com> * add test that ttl inputs aren not checked --------- Co-authored-by: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com>
24 lines
785 B
Handlebars
24 lines
785 B
Handlebars
{{!
|
|
Copyright (c) HashiCorp, Inc.
|
|
SPDX-License-Identifier: BUSL-1.1
|
|
~}}
|
|
|
|
<div class="box is-fullwidth is-sideless is-paddingless is-marginless">
|
|
{{#each @model.attrs as |attr|}}
|
|
{{#if (eq attr.type "object")}}
|
|
<InfoTableRow
|
|
@alwaysRender={{not (is-empty-value (get @model attr.name))}}
|
|
@label={{or attr.options.label (to-label attr.name)}}
|
|
@value={{stringify (get @model attr.name)}}
|
|
@formatTtl={{eq attr.options.editType "ttl"}}
|
|
/>
|
|
{{else}}
|
|
<InfoTableRow
|
|
@alwaysRender={{not (is-empty-value (get @model attr.name))}}
|
|
@label={{or attr.options.label (to-label attr.name)}}
|
|
@value={{get @model attr.name}}
|
|
@formatTtl={{eq attr.options.editType "ttl"}}
|
|
/>
|
|
{{/if}}
|
|
{{/each}}
|
|
</div> |