e8593ec1bb
This rethinks namespaces as a filter on list pages rather than a global setting. The biggest net-new feature here is being able to select All (*) to list all jobs or CSI volumes across namespaces.
14 lines
419 B
Handlebars
14 lines
419 B
Handlebars
{{#let (cannot "exec allocation" namespace=this.job.namespace) as |cannotExec|}}
|
||
<button
|
||
data-test-exec-button
|
||
type="button"
|
||
class="button exec-button is-outline is-small {{if cannotExec "tooltip"}}"
|
||
disabled={{if cannotExec 'disabled'}}
|
||
aria-label={{if cannotExec "You don’t have permission to exec"}}
|
||
{{action "open"}}>
|
||
{{x-icon "console"}}
|
||
<span>Exec</span>
|
||
</button>
|
||
{{/let}}
|
||
|