open-vault/ui/app/templates/vault/cluster/access/control-group-accessor.hbs
2019-05-08 23:42:40 -06:00

22 lines
563 B
Handlebars

{{#if (has-feature "Control Groups")}}
<PageHeader as |p|>
<p.levelLeft>
<h1 class="title is-3">
Control Groups
</h1>
</p.levelLeft>
</PageHeader>
{{#if model.canConfigure}}
<Toolbar>
<ToolbarActions>
<ToolbarLink @params={{array 'vault.cluster.access.control-groups-configure'}}>
Configure
</ToolbarLink>
</ToolbarActions>
</Toolbar>
{{/if}}
<ControlGroup @model={{model}} />
{{else}}
<UpgradePage @title="Control Groups" @minimumEdition="Vault Enterprise Premium" />
{{/if}}