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.
15 lines
461 B
Handlebars
15 lines
461 B
Handlebars
<ul>
|
|
<li class={{if breadcrumbs "" "is-active"}}>
|
|
<Fs::Link @allocation={{allocation}} @taskState={{taskState}}>
|
|
{{if taskState taskState.name allocation.shortId}}
|
|
</Fs::Link>
|
|
</li>
|
|
{{#each breadcrumbs as |breadcrumb|}}
|
|
<li class={{if breadcrumb.isLast "is-active"}}>
|
|
<Fs::Link @allocation={{allocation}} @taskState={{taskState}} @path={{breadcrumb.path}}>
|
|
{{breadcrumb.name}}
|
|
</Fs::Link>
|
|
</li>
|
|
{{/each}}
|
|
</ul>
|