zulip/static/templates/tab_bar.hbs

22 lines
974 B
Handlebars

<span id="tab_list">
<span {{#if stream_settings_link}}class="stream"{{/if}}>
{{#if icon}}
<i class="fa fa-{{icon}}" aria-hidden="true"></i>
{{/if}}
{{#if stream_settings_link}}
<a href="{{stream_settings_link}}">{{title}}</a>
{{else}}
{{title}}
{{/if}}
</span>
{{#if sub_count}}
<span class="sub_count" data-toggle="tooltip" title="{{sub_count}} users are subscribed to #{{title}}"><i class="fa fa-user-o"></i>{{formatted_sub_count}}</span>
{{#if rendered_narrow_description}}
<span class="narrow_description rendered_markdown" data-toggle="tooltip">{{rendered_markdown rendered_narrow_description}}</span>
{{else}}
<span class="narrow_description rendered_markdown" data-toggle="tooltip">{{t "(no description)"}}</span>
{{/if}}
{{/if}}
<span class="search_icon search_closed" ><i class="fa fa-search" aria-hidden="true"></i></span>
</span>