2020-07-09 20:19:07 +00:00
|
|
|
<td data-test-job-name><LinkTo @route="jobs.job" @model={{this.job.plainId}} class="is-primary">{{this.job.name}}</LinkTo></td>
|
2020-09-19 00:33:43 +00:00
|
|
|
{{#if (eq @context "child")}}
|
|
|
|
<td data-test-submit-time>{{format-month-ts this.job.submitTime}}</td>
|
|
|
|
{{/if}}
|
2018-01-05 20:59:36 +00:00
|
|
|
<td data-test-job-status>
|
2020-07-09 20:19:07 +00:00
|
|
|
<span class="tag {{this.job.statusClass}}">{{this.job.status}}</span>
|
2017-09-19 14:47:10 +00:00
|
|
|
</td>
|
2020-07-09 20:19:07 +00:00
|
|
|
<td data-test-job-type>{{this.job.displayType}}</td>
|
|
|
|
<td data-test-job-priority>{{this.job.priority}}</td>
|
2018-01-05 20:59:36 +00:00
|
|
|
<td data-test-job-task-groups>
|
2020-07-09 20:19:07 +00:00
|
|
|
{{#if this.job.taskGroupCount}}
|
|
|
|
{{this.job.taskGroupCount}}
|
2018-02-12 23:27:19 +00:00
|
|
|
{{else}}
|
|
|
|
--
|
2017-10-03 23:24:30 +00:00
|
|
|
{{/if}}
|
|
|
|
</td>
|
2018-01-05 20:59:36 +00:00
|
|
|
<td data-test-job-allocations>
|
2018-01-23 21:26:07 +00:00
|
|
|
<div class="inline-chart">
|
2020-07-09 20:19:07 +00:00
|
|
|
{{#if this.job.hasChildren}}
|
|
|
|
{{#if (gt this.job.totalChildren 0)}}
|
|
|
|
<ChildrenStatusBar @job={{this.job}} @isNarrow={{true}} />
|
2018-03-20 19:30:48 +00:00
|
|
|
{{else}}
|
|
|
|
<em class="is-faded">No Children</em>
|
|
|
|
{{/if}}
|
2018-01-23 21:26:07 +00:00
|
|
|
{{else}}
|
2020-07-09 20:19:07 +00:00
|
|
|
<AllocationStatusBar @allocationContainer={{this.job}} @isNarrow={{true}} />
|
2018-01-23 21:26:07 +00:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
2017-09-19 14:47:10 +00:00
|
|
|
</td>
|