2017-09-19 14:47:10 +00:00
<div class="boxed-section-head is-light inline-definitions">
2020-07-09 20:19:07 +00:00
<span> {{ this .deployment .shortId }} </span>
<span class="bumper-left tag {{ this .deployment .statusClass }} " data-test-deployment-status=" {{ this .deployment .statusClass }} "> {{ this .deployment .status }} </span>
{{ # if this .deployment .requiresPromotion }}
2018-01-05 20:59:36 +00:00
<span data-test-promotion-required class="bumper-left badge is-warning is-hollow">Requires Promotion</span>
2017-09-19 14:47:10 +00:00
{{ / if }}
<span class="pull-right">
<span class="pair is-faded">
<span class="term">Version</span>
2020-07-09 20:19:07 +00:00
<span class="has-emphasis" data-test-deployment-version># {{ this .deployment .version .number }} </span>
2019-01-30 17:57:55 +00:00
<span data-test-deployment-submit-time>|
2020-07-09 20:19:07 +00:00
<span class="tooltip" aria-label=" {{ format-ts this .deployment .version .submitTime }} ">
{{ moment-from-now this .deployment .version .submitTime }}
2019-01-30 17:57:55 +00:00
</span>
</span>
2017-09-19 14:47:10 +00:00
</span>
2020-07-09 17:30:11 +00:00
<button data-test-deployment-toggle-details class="button is-light is-compact pull-right" {{ action ( toggle "isOpen" this ) }} type="button">details</button>
2017-09-19 14:47:10 +00:00
</span>
</div>
2020-07-09 20:19:07 +00:00
{{ # if this .isOpen }}
2018-01-05 20:59:36 +00:00
<div data-test-deployment-details class="boxed-section-body">
2020-07-09 20:19:07 +00:00
<JobDeploymentDetails @deployment= {{ this .deployment }} as |d|>
2020-07-09 17:30:11 +00:00
<d.metrics />
<d.taskGroups />
<d.allocations />
2020-06-01 19:03:56 +00:00
</JobDeploymentDetails>
2017-09-19 14:47:10 +00:00
</div>
{{ / if }}