2023-04-10 15:36:59 +00:00
|
|
|
{{!
|
|
|
|
Copyright (c) HashiCorp, Inc.
|
|
|
|
SPDX-License-Identifier: MPL-2.0
|
2023-04-14 17:08:13 +00:00
|
|
|
~}}
|
2023-04-10 15:36:59 +00:00
|
|
|
|
2022-08-17 16:59:33 +00:00
|
|
|
<div data-test-subnav="job" class="tabs is-subnav" {{did-insert this.keyboard.registerNav type="subnav"}} {{will-destroy this.keyboard.unregisterSubnav}}>
|
2017-09-19 14:47:10 +00:00
|
|
|
<ul>
|
2022-01-05 17:45:05 +00:00
|
|
|
<li data-test-tab="overview">
|
|
|
|
<LinkTo
|
|
|
|
@route="jobs.job.index"
|
|
|
|
@model={{@job}}
|
|
|
|
@activeClass="is-active"
|
|
|
|
@current-when="jobs.job.index jobs.job.dispatch"
|
|
|
|
>
|
|
|
|
Overview
|
|
|
|
</LinkTo>
|
|
|
|
</li>
|
|
|
|
<li data-test-tab="definition">
|
|
|
|
<LinkTo
|
|
|
|
@route="jobs.job.definition"
|
|
|
|
@model={{@job}}
|
|
|
|
@activeClass="is-active"
|
|
|
|
>
|
|
|
|
Definition
|
|
|
|
</LinkTo>
|
|
|
|
</li>
|
|
|
|
<li data-test-tab="versions">
|
|
|
|
<LinkTo
|
|
|
|
@route="jobs.job.versions"
|
|
|
|
@model={{@job}}
|
|
|
|
@activeClass="is-active"
|
|
|
|
>
|
|
|
|
Versions
|
|
|
|
</LinkTo>
|
|
|
|
</li>
|
2022-01-26 16:30:06 +00:00
|
|
|
{{#if @job.supportsDeployments}}
|
2022-01-05 17:45:05 +00:00
|
|
|
<li data-test-tab="deployments">
|
|
|
|
<LinkTo
|
|
|
|
@route="jobs.job.deployments"
|
|
|
|
@model={{@job}}
|
|
|
|
@activeClass="is-active"
|
|
|
|
>
|
|
|
|
Deployments
|
|
|
|
</LinkTo>
|
|
|
|
</li>
|
2021-10-07 21:11:38 +00:00
|
|
|
{{/if}}
|
2022-01-05 17:45:05 +00:00
|
|
|
<li data-test-tab="allocations">
|
|
|
|
<LinkTo
|
|
|
|
@route="jobs.job.allocations"
|
2022-04-28 18:02:15 +00:00
|
|
|
@model={{format-job-id @job.id}}
|
2022-01-05 17:45:05 +00:00
|
|
|
@activeClass="is-active"
|
|
|
|
>
|
|
|
|
Allocations
|
|
|
|
</LinkTo>
|
|
|
|
</li>
|
|
|
|
<li data-test-tab="evaluations">
|
|
|
|
<LinkTo
|
|
|
|
@route="jobs.job.evaluations"
|
|
|
|
@model={{@job}}
|
|
|
|
@activeClass="is-active"
|
|
|
|
>
|
|
|
|
Evaluations
|
|
|
|
</LinkTo>
|
|
|
|
</li>
|
|
|
|
{{#if this.shouldRenderClientsTab}}
|
|
|
|
<li data-test-tab="clients">
|
|
|
|
<LinkTo
|
|
|
|
@route="jobs.job.clients"
|
|
|
|
@model={{@job}}
|
|
|
|
@activeClass="is-active"
|
|
|
|
>
|
|
|
|
Clients
|
|
|
|
</LinkTo>
|
|
|
|
</li>
|
2017-10-24 19:35:29 +00:00
|
|
|
{{/if}}
|
2022-08-26 03:22:55 +00:00
|
|
|
<li data-test-tab="services">
|
|
|
|
<LinkTo
|
|
|
|
@route="jobs.job.services"
|
|
|
|
@model={{@job}}
|
|
|
|
@activeClass="is-active"
|
|
|
|
>
|
|
|
|
Services
|
|
|
|
</LinkTo>
|
|
|
|
</li>
|
2017-09-19 14:47:10 +00:00
|
|
|
</ul>
|
2022-01-05 17:45:05 +00:00
|
|
|
</div>
|