99185e2d8f
* Remove the newline after .hbs copyright headers * Trying with the whitespace control char
18 lines
459 B
Handlebars
18 lines
459 B
Handlebars
{{!
|
|
Copyright (c) HashiCorp, Inc.
|
|
SPDX-License-Identifier: MPL-2.0
|
|
~}}
|
|
|
|
{{page-title "Client " (or this.model.name this.model.shortId)}}
|
|
<ClientSubnav @client={{this.model}} />
|
|
<section class="section is-full-width">
|
|
{{#if (can "read agent")}}
|
|
<AgentMonitor
|
|
@level={{this.level}}
|
|
@client={{this.model}}
|
|
@onLevelChange={{action (mut this.level)}} />
|
|
{{else}}
|
|
<ForbiddenMessage @permission="agent:read" />
|
|
{{/if}}
|
|
</section>
|