41164a462f
* move two components to add on and create new helper for engines * change nmae of options-for-backend. will need conditional in template * move options for backend * pass through isEngine to secretListHeaderTab * secret list header remove comments * conditional options-for-backend * missing part for documentation * pr comments cleanup * cleanup * cleanup * cleanup
22 lines
697 B
Handlebars
22 lines
697 B
Handlebars
<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>
|
|
{{#if (and this.linkToPaths (not @isEngine))}}
|
|
<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> |