open-vault/ui/app/templates/components/identity/item-metadata.hbs
2018-11-15 16:47:47 -06:00

21 lines
505 B
Handlebars

{{#each-in model.metadata as |key value|}}
<div class="info-table-row is-mobile">
<div class="is-flex is-fullwidth">
<div class="column is-one-quarter">
<span class="is-label has-text-grey-dark">
{{key}}
</span>
</div>
<div class="column is-flex">
{{value}}
</div>
<div class="column has-text-right">
</div>
</div>
</div>
{{else}}
<EmptyState
@title="No metadata associated with {{model.name}} yet"
/>
{{/each-in}}