Use the children summary instead of alloc summary when applicable
This commit is contained in:
parent
d8bd9dec77
commit
67cee01f11
|
@ -12,5 +12,11 @@
|
|||
{{/if}}
|
||||
</td>
|
||||
<td data-test-job-allocations>
|
||||
<div class="inline-chart">{{allocation-status-bar allocationContainer=job isNarrow=true}}</div>
|
||||
<div class="inline-chart">
|
||||
{{#if job.hasChildren}}
|
||||
{{children-status-bar job=job isNarrow=true}}
|
||||
{{else}}
|
||||
{{allocation-status-bar allocationContainer=job isNarrow=true}}
|
||||
{{/if}}
|
||||
</div>
|
||||
</td>
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
{{#t.sort-by prop="type"}}Type{{/t.sort-by}}
|
||||
{{#t.sort-by prop="priority"}}Priority{{/t.sort-by}}
|
||||
<th>Groups</th>
|
||||
<th class="is-3">Allocation Status</th>
|
||||
<th class="is-3">Summary</th>
|
||||
{{/t.head}}
|
||||
{{#t.body key="model.id" as |row|}}
|
||||
{{job-row data-test-job-row job=row.model onClick=(action "gotoJob" row.model)}}
|
||||
|
|
Loading…
Reference in New Issue