2998deac50
This is mostly a direct application of the ember-angle-brackets-codemod. I manually restored newlines in multi-line component invocations, usually preserving file line length except for now-non-positional link-to @route. I needed to rename task to taskState in some cases to avoid Ember Concurrency naming conflicts.
27 lines
812 B
Handlebars
27 lines
812 B
Handlebars
<td data-test-job-name><LinkTo @route="jobs.job" @model={{job.plainId}} class="is-primary">{{job.name}}</LinkTo></td>
|
|
<td data-test-job-status>
|
|
<span class="tag {{job.statusClass}}">{{job.status}}</span>
|
|
</td>
|
|
<td data-test-job-type>{{job.displayType}}</td>
|
|
<td data-test-job-priority>{{job.priority}}</td>
|
|
<td data-test-job-task-groups>
|
|
{{#if job.taskGroupCount}}
|
|
{{job.taskGroupCount}}
|
|
{{else}}
|
|
--
|
|
{{/if}}
|
|
</td>
|
|
<td data-test-job-allocations>
|
|
<div class="inline-chart">
|
|
{{#if job.hasChildren}}
|
|
{{#if (gt job.totalChildren 0)}}
|
|
<ChildrenStatusBar @job={{job}} @isNarrow={{true}} />
|
|
{{else}}
|
|
<em class="is-faded">No Children</em>
|
|
{{/if}}
|
|
{{else}}
|
|
<AllocationStatusBar @allocationContainer={{job}} @isNarrow={{true}} />
|
|
{{/if}}
|
|
</div>
|
|
</td>
|