2020-04-30 13:15:19 +00:00
|
|
|
<div
|
2020-07-09 20:19:07 +00:00
|
|
|
class="lifecycle-chart-row {{this.task.lifecycleName}} {{this.activeClass}} {{this.finishedClass}}"
|
2020-04-30 13:15:19 +00:00
|
|
|
data-test-lifecycle-task>
|
|
|
|
<div class="task">
|
|
|
|
<div class="name" data-test-name>
|
2020-07-09 20:19:07 +00:00
|
|
|
{{#if this.taskState}}
|
|
|
|
<LinkTo @route="allocations.allocation.task" @models={{array this.taskState.allocation this.taskState}}>
|
|
|
|
{{this.task.name}}
|
2020-06-01 19:03:56 +00:00
|
|
|
</LinkTo>
|
2020-04-30 13:15:19 +00:00
|
|
|
{{else}}
|
2020-07-09 20:19:07 +00:00
|
|
|
{{this.task.name}}
|
2020-04-30 13:15:19 +00:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
2020-07-09 20:19:07 +00:00
|
|
|
<div class="lifecycle" data-test-lifecycle>{{capitalize this.task.lifecycleName}} Task</div>
|
2020-04-30 13:15:19 +00:00
|
|
|
</div>
|
|
|
|
</div>
|