387bb63466
* reset pageFilter when the model changes * add test selectors for list and show secret pages * add acceptance test to verify that pageFilter is closed after navigating away from the list page * only clear on exit
17 lines
500 B
Handlebars
17 lines
500 B
Handlebars
<ul>
|
|
{{yield}}
|
|
{{#each secretPath as |path index|}}
|
|
<li class="{{if (is-active-route path.path path.model isExact=true) 'is-active'}}">
|
|
<span class="sep">/</span>
|
|
{{#if linkToPaths}}
|
|
{{#link-to params=(array path.path path.model) data-test-secret-root-link=(if (eq index 0) true false) data-test-secret-breadcrumb=path.text}}
|
|
|
|
{{path.text}}
|
|
{{/link-to}}
|
|
{{else}}
|
|
<span>{{path.text}}</span>
|
|
{{/if}}
|
|
</li>
|
|
{{/each}}
|
|
</ul>
|