Show deployment deadlines everywhere

This commit is contained in:
Michael Lange
2018-07-17 11:07:22 -07:00
parent 03f08f1475
commit cfbbdf8677
2 changed files with 5 additions and 9 deletions

View File

@@ -14,9 +14,7 @@
<th>Allocs</th>
<th>Healthy Allocs</th>
<th>Unhealthy Allocs</th>
{{#if inProgress}}
<th>Progress Deadline</th>
{{/if}}
<th>Progress Deadline</th>
{{/t.head}}
{{#t.body as |row|}}
<tr data-test-deployment-task-group>
@@ -33,11 +31,9 @@
<td data-test-deployment-task-group-allocs>{{row.model.placedAllocs}} / {{row.model.desiredTotal}}</td>
<td data-test-deployment-task-group-healthy>{{row.model.healthyAllocs}}</td>
<td data-test-deployment-task-group-unhealthy>{{row.model.unhealthyAllocs}}</td>
{{#if inProgress}}
<td data-test-deployment-task-group-progress-deadline>
<span class="nowrap">{{moment-format row.model.requireProgressBy "MM/DD/YY HH:mm:ss"}}</span>
</td>
{{/if}}
<td data-test-deployment-task-group-progress-deadline>
<span class="nowrap">{{moment-format row.model.requireProgressBy "MM/DD/YY HH:mm:ss"}}</span>
</td>
</tr>
{{/t.body}}
{{/list-table}}

View File

@@ -19,7 +19,7 @@
{{#job-deployment-details deployment=job.runningDeployment as |d|}}
{{d.metrics}}
{{#if isShowingDeploymentDetails}}
{{d.taskGroups inProgress=true}}
{{d.taskGroups}}
{{d.allocations}}
{{/if}}
{{/job-deployment-details}}