open-vault/ui/app/templates/vault/cluster/access/control-group-accessor.hbs

22 lines
563 B
Handlebars
Raw Normal View History

{{#if (has-feature "Control Groups")}}
<PageHeader as |p|>
<p.levelLeft>
<h1 class="title is-3">
Control Groups
</h1>
</p.levelLeft>
</PageHeader>
2019-02-14 16:04:46 +00:00
{{#if model.canConfigure}}
<Toolbar>
<ToolbarActions>
2019-04-29 15:19:03 +00:00
<ToolbarLink @params={{array 'vault.cluster.access.control-groups-configure'}}>
2019-02-14 16:04:46 +00:00
Configure
2019-04-29 15:19:03 +00:00
</ToolbarLink>
2019-02-14 16:04:46 +00:00
</ToolbarActions>
</Toolbar>
{{/if}}
<ControlGroup @model={{model}} />
{{else}}
<UpgradePage @title="Control Groups" @minimumEdition="Vault Enterprise Premium" />
{{/if}}