open-vault/ui/app/templates/components/info-table-row.hbs

19 lines
548 B
Handlebars
Raw Normal View History

2018-04-03 14:16:57 +00:00
{{#if (or alwaysRender value)}}
<div class="column is-one-quarter">
<span class="is-label has-text-grey-dark" data-test-row-label="{{label}}">{{label}}</span>
</div>
<div class="column is-flex">
{{#if hasBlock}}
{{yield}}
{{else if valueIsBoolean}}
{{#if value}}
{{i-con glyph="true" size=15}} Yes
{{else}}
{{i-con glyph="false" size=15}} No
{{/if}}
{{else}}
<code class="is-word-break has-text-black" data-test-row-value="{{label}}">{{value}}</code>
{{/if}}
</div>
{{/if}}