mirror of https://github.com/zulip/zulip.git
22 lines
736 B
Handlebars
22 lines
736 B
Handlebars
|
{{! Stream sidebar rows }}
|
||
|
|
||
|
<li data-name="{{name}}" class="narrow-filter{{#if not_in_home_view}} out_of_home_view{{/if}}"
|
||
|
id="stream_sidebar_{{id}}">
|
||
|
|
||
|
{{! For some reason, even though the span is inline-block, if it is empty it
|
||
|
takes up no space and you don't see the background color. Thus, add a
|
||
|
to get the inline-block behavior we want. }}
|
||
|
|
||
|
<span id="stream_sidebar_swatch_{{id}}" class="streamlist_swatch"
|
||
|
style="background-color: {{color}}"> </span>
|
||
|
|
||
|
<a href="{{uri}}" class="subscription_name">{{name}}<span class="count">(<span class="value"></span>)</span></a>
|
||
|
|
||
|
<span class="arrow pull-right">▽</span>
|
||
|
|
||
|
{{#if invite_only}}
|
||
|
<i class="icon-lock"></i>
|
||
|
{{/if}}
|
||
|
|
||
|
</li>
|