2017-09-19 14:47:10 +00:00
|
|
|
<div class="boxed-section-head is-light inline-definitions">
|
|
|
|
<span>{{deployment.shortId}}</span>
|
2018-01-05 20:59:36 +00:00
|
|
|
<span class="bumper-left tag {{deployment.statusClass}}" data-test-deployment-status="{{deployment.statusClass}}">{{deployment.status}}</span>
|
2017-09-19 14:47:10 +00:00
|
|
|
{{#if 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>
|
2018-01-05 20:59:36 +00:00
|
|
|
<span class="has-emphasis" data-test-deployment-version>#{{deployment.version.number}}</span>
|
|
|
|
<span data-test-deployment-submit-time>| {{moment-from-now deployment.version.submitTime}}</span>
|
2017-09-19 14:47:10 +00:00
|
|
|
</span>
|
2018-01-05 20:59:36 +00:00
|
|
|
<button data-test-deployment-toggle-details class="button is-light is-compact pull-right" {{action (toggle "isOpen" this)}}>details</button>
|
2017-09-19 14:47:10 +00:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
{{#if isOpen}}
|
2018-01-05 20:59:36 +00:00
|
|
|
<div data-test-deployment-details class="boxed-section-body">
|
2017-09-19 14:47:10 +00:00
|
|
|
{{#job-deployment-details deployment=deployment as |d|}}
|
|
|
|
{{d.metrics}}
|
|
|
|
{{d.taskGroups}}
|
|
|
|
{{d.allocations}}
|
|
|
|
{{/job-deployment-details}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|