2022-09-01 15:34:11 +00:00
|
|
|
<nav class="key-value-header breadcrumb" aria-label="breadcrumbs">
|
|
|
|
<ul>
|
|
|
|
{{yield}}
|
|
|
|
{{#each this.secretPath as |path index|}}
|
|
|
|
<li class={{if (is-active-route path.path path.model isExact=true) "is-active"}}>
|
|
|
|
<span class="sep">/</span>
|
2022-09-07 21:04:41 +00:00
|
|
|
{{#if (and this.linkToPaths (not @isEngine))}}
|
2022-09-01 15:34:11 +00:00
|
|
|
<LinkTo
|
|
|
|
@route={{path.path}}
|
|
|
|
@model={{path.model}}
|
|
|
|
data-test-secret-root-link={{if (eq index 0) true false}}
|
|
|
|
data-test-secret-breadcrumb={{path.text}}
|
|
|
|
>
|
|
|
|
{{path.text}}
|
|
|
|
</LinkTo>
|
|
|
|
{{else}}
|
|
|
|
<span>{{path.text}}</span>
|
|
|
|
{{/if}}
|
|
|
|
</li>
|
|
|
|
{{/each}}
|
|
|
|
</ul>
|
|
|
|
</nav>
|