2018-04-03 14:16:57 +00:00
|
|
|
<ul>
|
2018-05-23 16:25:52 +00:00
|
|
|
{{yield}}
|
2018-04-03 14:16:57 +00:00
|
|
|
{{#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}}
|
|
|
|
<a href={{href-to params=(array path.path path.model)}} data-test-secret-root-link={{if (eq index 0) true false}}>
|
|
|
|
{{path.text}}
|
|
|
|
</a>
|
|
|
|
{{else}}
|
|
|
|
<span>{{path.text}}</span>
|
|
|
|
{{/if}}
|
|
|
|
</li>
|
|
|
|
{{/each}}
|
|
|
|
</ul>
|