zulip/zephyr/static/templates/tab_bar.handlebars

15 lines
418 B
Handlebars

<ul id="tab_list">
{{#each tabs}}
<li class="{{active}} {{cls}}" {{#if data}}data-name="{{data}}"{{/if}}>
{{#if icon}}
<i class="icon-vector-narrow icon-vector-small"></i>
{{/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}}
</ul>