github.com/manicqin/nomad@v0.9.5/ui/app/templates/components/fs-breadcrumbs.hbs (about)

     1  <ul>
     2    <li class={{if breadcrumbs "" "is-active"}}>
     3      {{#link-to "allocations.allocation.task.fs-root" task.allocation task activeClass="is-active"}}
     4        {{task.name}}
     5      {{/link-to}}
     6    </li>
     7    {{#each breadcrumbs as |breadcrumb|}}
     8      <li class={{if breadcrumb.isLast "is-active"}}>
     9        {{#link-to "allocations.allocation.task.fs" task.allocation task breadcrumb.path activeClass="is-active"}}
    10          {{breadcrumb.name}}
    11        {{/link-to}}
    12      </li>
    13    {{/each}}
    14  </ul>