open-vault/ui/app/templates/components/identity/item-parent-groups.hbs
Matthew Irish 0ccc8467ec
UI ember engines (#6718)
Adds replication engine and core in-repo addon
2019-05-13 14:05:25 -05:00

30 lines
787 B
Handlebars

{{#if model.parentGroupIds.length}}
{{#each model.parentGroupIds as |gid|}}
{{#linked-block
"vault.cluster.access.identity.show"
"groups"
gid
details
class="list-item-row"
}}
<div class="columns is-mobile">
<div class="column is-10">
{{#link-to "vault.cluster.access.identity.show" "groups" gid "details"
class="is-block has-text-black has-text-weight-semibold"
}}<Icon
@glyph="folder-outline"
class="has-text-grey-light"
/>{{gid}}
{{/link-to}}
</div>
<div class="column has-text-right">
</div>
</div>
{{/linked-block}}
{{/each}}
{{else}}
<EmptyState
@title="This group has no parent groups yet"
/>
{{/if}}