2013-07-04 20:19:23 +02:00
|
|
|
<ul id="tab_list">
|
2013-05-09 21:12:53 +02:00
|
|
|
{{#each tabs}}
|
|
|
|
<li class="{{active}} {{cls}}" {{#if data}}data-name="{{data}}"{{/if}}>
|
|
|
|
{{#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}}
|
|
|
|
<a href="{{hash}}">{{title}}</a>
|
|
|
|
{{else}}
|
|
|
|
{{title}}
|
|
|
|
{{/if}}
|
|
|
|
</li>
|
|
|
|
{{/each}}
|
2013-07-04 20:19:23 +02:00
|
|
|
</ul>
|