github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/ui/app/templates/components/fs/link.hbs (about) 1 {{#if this.taskState}} 2 {{#if this.path}} 3 <LinkTo @route="allocations.allocation.task.fs" @models={{array this.allocation this.taskState this.path}} @activeClass="is-active"> 4 {{yield}} 5 </LinkTo> 6 {{else}} 7 <LinkTo @route="allocations.allocation.task.fs-root" @models={{array this.allocation this.taskState}} @activeClass="is-active"> 8 {{yield}} 9 </LinkTo> 10 {{/if}} 11 {{else}} 12 {{#if this.path}} 13 <LinkTo @route="allocations.allocation.fs" @models={{array this.allocation this.path}} @activeClass="is-active"> 14 {{yield}} 15 </LinkTo> 16 {{else}} 17 <LinkTo @route="allocations.allocation.fs-root" @model={{this.allocation}} @activeClass="is-active"> 18 {{yield}} 19 </LinkTo> 20 {{/if}} 21 {{/if}}