2013-07-04 20:19:23 +02:00
|
|
|
<ul id="tab_list">
|
2017-03-06 18:17:11 +01:00
|
|
|
{{#each tabs}}
|
|
|
|
<li class="{{active}} {{cls}} {{#if home}}home-link{{/if}}" {{#if data}}data-name="{{data}}"{{/if}}>
|
|
|
|
{{#if icon}}
|
2018-07-04 02:33:37 +02:00
|
|
|
<i class="fa fa-angle-right" aria-hidden="true"></i>
|
2017-03-06 18:17:11 +01:00
|
|
|
{{/if}}
|
|
|
|
{{! Most tabs are links, but some are not since we don't have a narrow for them (e.g. Search) }}
|
|
|
|
{{#if hash}}
|
|
|
|
{{#if home}}
|
2018-07-04 02:33:37 +02:00
|
|
|
<a href="{{hash}}" title="{{t 'All messages' }} (Esc)"><i class="fa fa-home" aria-hidden="true"></i></a>
|
2017-03-06 18:17:11 +01:00
|
|
|
{{else}}
|
|
|
|
<a href="{{hash}}">{{title}}</a>
|
|
|
|
{{/if}}
|
|
|
|
{{else}}
|
|
|
|
{{#if home}}
|
2018-07-04 02:33:37 +02:00
|
|
|
<i class="fa fa-home" aria-hidden="true"></i>
|
2017-03-06 18:17:11 +01:00
|
|
|
{{/if}}
|
|
|
|
{{#unless home}}
|
|
|
|
{{title}}
|
|
|
|
{{/unless}}
|
|
|
|
{{/if}}
|
|
|
|
</li>
|
|
|
|
{{/each}}
|
2016-04-08 20:42:45 +02:00
|
|
|
</ul>
|