github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/ui/app/templates/components/fs/breadcrumbs.hbs (about)

     1  <ul>
     2    <li class={{if this.breadcrumbs "" "is-active"}}>
     3      <Fs::Link @allocation={{this.allocation}} @taskState={{this.taskState}}>
     4        {{if this.taskState this.taskState.name this.allocation.shortId}}
     5      </Fs::Link>
     6    </li>
     7    {{#each this.breadcrumbs as |breadcrumb|}}
     8      <li class={{if breadcrumb.isLast "is-active"}}>
     9        <Fs::Link @allocation={{this.allocation}} @taskState={{this.taskState}} @path={{breadcrumb.path}}>
    10          {{breadcrumb.name}}
    11        </Fs::Link>
    12      </li>
    13    {{/each}}
    14  </ul>