mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 17:35:43 +03:00
Use the children summary instead of alloc summary when applicable
This commit is contained in:
@@ -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)}}
|
||||
|
||||
Reference in New Issue
Block a user