2013-07-04 20:19:23 +02:00
|
|
|
<ul id="tab_list">
|
2013-05-09 21:12:53 +02:00
|
|
|
{{#each tabs}}
|
2017-01-16 16:43:02 +01:00
|
|
|
<li class="{{active}} {{cls}} {{#if home}}home-link{{/if}}" {{#if data}}data-name="{{data}}"{{/if}}>
|
2013-05-09 21:12:53 +02:00
|
|
|
{{#if icon}}
|
2013-05-21 05:54:06 +02:00
|
|
|
<i class="icon-vector-narrow icon-vector-small"></i>
|
2013-05-09 21:12:53 +02:00
|
|
|
{{/if}}
|
|
|
|
{{! Most tabs are links, but some are not since we don't have a narrow for them (e.g. Search) }}
|
|
|
|
{{#if hash}}
|
2014-01-08 16:12:22 +01:00
|
|
|
{{#if home}}
|
|
|
|
<a href="{{hash}}"><i class="icon-vector-home"></i></a>
|
|
|
|
{{else}}
|
|
|
|
<a href="{{hash}}">{{title}}</a>
|
|
|
|
{{/if}}
|
2013-05-09 21:12:53 +02:00
|
|
|
{{else}}
|
2014-01-08 16:12:22 +01:00
|
|
|
{{#if home}}
|
|
|
|
<i class="icon-vector-home"></i>
|
|
|
|
{{/if}}
|
|
|
|
{{#unless home}}
|
|
|
|
{{title}}
|
|
|
|
{{/unless}}
|
2013-05-09 21:12:53 +02:00
|
|
|
{{/if}}
|
|
|
|
</li>
|
|
|
|
{{/each}}
|
2016-04-08 20:42:45 +02:00
|
|
|
</ul>
|