2018-04-03 14:16:57 +00:00
{{ # each - in model .metadata as | key value | }}
2018-07-10 21:48:36 +00:00
<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>
2019-02-14 15:39:19 +00:00
<div class="column is-5">
2018-07-10 21:48:36 +00:00
{{ value }}
</div>
<div class="column has-text-right">
2019-02-14 15:39:19 +00:00
{{ # if model .canEdit }}
{{ identity / popup-metadata params = ( array model key ) }}
{{ / if }}
2018-07-10 21:48:36 +00:00
</div>
2018-04-03 14:16:57 +00:00
</div>
</div>
{{ else }}
2018-11-03 16:33:32 +00:00
<EmptyState
2019-02-14 15:39:19 +00:00
@title="No metadata for {{ model .name }} "
@message="You can store custom data that you want to associate with a {{ lowercase ( humanize model .identityType ) }} . Edit this {{ lowercase ( humanize model .identityType ) }} to get started."
>
{{ # link-to "vault.cluster.access.identity.edit" model .id tagName = "button" class = "link" }}
Edit {{ lowercase ( humanize model .identityType ) }}
{{ / link-to }}
<LearnLink @path="/vault/identity-access-management/iam-identity">
2019-03-29 23:40:12 +00:00
Learn more
2019-02-14 15:39:19 +00:00
</LearnLink>
</EmptyState>
2018-04-03 14:16:57 +00:00
{{ / each - in }}