2021-05-17 21:41:39 +00:00
|
|
|
{{#if @model.hasMembers}}
|
|
|
|
{{#each @model.memberGroupIds as |gid|}}
|
2018-07-10 19:38:02 +00:00
|
|
|
{{#linked-block
|
2018-07-10 13:55:28 +00:00
|
|
|
"vault.cluster.access.identity.show"
|
|
|
|
"groups"
|
|
|
|
gid
|
|
|
|
details
|
2018-07-10 19:38:02 +00:00
|
|
|
class="list-item-row"
|
2018-07-10 13:55:28 +00:00
|
|
|
}}
|
|
|
|
<div class="columns is-mobile">
|
|
|
|
<div class="column is-10">
|
2021-12-07 17:05:14 +00:00
|
|
|
<LinkTo @route="vault.cluster.access.identity.show" @models={{array "groups" gid "details"}} class="is-block has-text-black has-text-weight-semibold">
|
|
|
|
<Icon @name="folder" class="has-text-grey-light" />{{gid}}
|
|
|
|
</LinkTo>
|
2018-07-10 13:55:28 +00:00
|
|
|
</div>
|
|
|
|
<div class="column has-text-right">
|
2021-05-17 21:41:39 +00:00
|
|
|
{{#if @model.canEdit}}
|
|
|
|
<Identity::PopupMembers @params={{array @model "memberGroupIds" gid}} />
|
2018-07-10 13:55:28 +00:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
2018-05-24 03:10:21 +00:00
|
|
|
</div>
|
2018-07-10 19:38:02 +00:00
|
|
|
{{/linked-block}}
|
2018-04-03 14:16:57 +00:00
|
|
|
{{/each}}
|
2021-05-17 21:41:39 +00:00
|
|
|
{{#each @model.memberEntityIds as |gid|}}
|
2018-07-10 19:38:02 +00:00
|
|
|
{{#linked-block
|
2018-05-24 03:10:21 +00:00
|
|
|
"vault.cluster.access.identity.show"
|
|
|
|
"groups"
|
|
|
|
gid
|
|
|
|
details
|
2018-07-10 19:38:02 +00:00
|
|
|
class="list-item-row"
|
2018-05-24 03:10:21 +00:00
|
|
|
}}
|
|
|
|
<div class="columns">
|
|
|
|
<div class="column is-10">
|
2021-05-17 21:41:39 +00:00
|
|
|
<LinkTo
|
|
|
|
@route="vault.cluster.access.identity.show"
|
|
|
|
@models={{array "entities" gid "details"}}
|
|
|
|
class="is-block has-text-black has-text-weight-semibold">
|
2021-12-07 17:05:14 +00:00
|
|
|
<Icon @name="user" class="has-text-grey-light" />{{gid}}
|
2021-05-17 21:41:39 +00:00
|
|
|
</LinkTo>
|
2018-05-24 03:10:21 +00:00
|
|
|
</div>
|
|
|
|
<div class="column has-text-right">
|
2021-05-17 21:41:39 +00:00
|
|
|
{{#if @model.canEdit}}
|
|
|
|
<Identity::PopupMembers @params={{array @model "memberEntityIds" gid}} />
|
2018-05-24 03:10:21 +00:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-07-10 19:38:02 +00:00
|
|
|
{{/linked-block}}
|
2018-04-03 14:16:57 +00:00
|
|
|
{{/each}}
|
|
|
|
{{else}}
|
2018-11-03 16:33:32 +00:00
|
|
|
<EmptyState
|
|
|
|
@title="No members in this group yet"
|
|
|
|
/>
|
2018-04-03 14:16:57 +00:00
|
|
|
{{/if}}
|