open-vault/ui/app/templates/vault/cluster/tools/tool.hbs
Angel Garbarino 8203865cfc
LinkTo remove tagName lint warning (#14344)
* removal stage 1

* remove unused roles file

* more changes and glimmerize toggle

* clean up

* fix

* fixes

* remove layout
2022-03-03 15:31:16 -07:00

21 lines
675 B
Handlebars

<div class="columns">
<MenuSidebar @title="Tools" @class="is-3">
{{#each (tools-actions) as |supportedAction|}}
{{#if (has-permission "tools" routeParams=supportedAction)}}
<li>
<LinkTo
@route="vault.cluster.tools.tool"
@model={{supportedAction}}
class="(if (eq supportedAction selectedAction) 'is-active')"
data-test-tools-action-link={{supportedAction}}
>
{{capitalize supportedAction}}
</LinkTo>
</li>
{{/if}}
{{/each}}
</MenuSidebar>
<div class="column is-9">
<ToolActionsForm @selectedAction={{this.selectedAction}} />
</div>
</div>