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.
17 lines
518 B
Handlebars
17 lines
518 B
Handlebars
<div
|
|
class="lifecycle-chart-row {{task.lifecycleName}} {{activeClass}} {{finishedClass}}"
|
|
data-test-lifecycle-task>
|
|
<div class="task">
|
|
<div class="name" data-test-name>
|
|
{{#if taskState}}
|
|
<LinkTo @route="allocations.allocation.task" @models={{array taskState.allocation taskState}}>
|
|
{{task.name}}
|
|
</LinkTo>
|
|
{{else}}
|
|
{{task.name}}
|
|
{{/if}}
|
|
</div>
|
|
<div class="lifecycle" data-test-lifecycle>{{capitalize task.lifecycleName}} Task</div>
|
|
</div>
|
|
</div>
|