mirror of https://github.com/zulip/zulip.git
28 lines
1.0 KiB
Handlebars
28 lines
1.0 KiB
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. }}
|
|
|
|
<div class="subscription_block selectable_sidebar_block" data-name="{{name}}">
|
|
|
|
<div id="stream_sidebar_swatch_{{id}}" class="streamlist_swatch{{#if invite_only}} private-stream-swatch{{/if}}"
|
|
style="background-color: {{color}}"> </div>
|
|
|
|
<a href="{{uri}}" class="subscription_name">{{name}}
|
|
</a>
|
|
|
|
<div class="count"><div class="value"></div></div>
|
|
|
|
<span id="stream_sidebar_privacy_swatch_{{id}}" class="stream-privacy" style="color: {{color}}">
|
|
{{partial "stream_privacy"}}
|
|
</span>
|
|
|
|
</div>
|
|
<span class="arrow stream-sidebar-arrow"><i class="icon-vector-chevron-down"></i></span>
|
|
|
|
</li>
|