zulip/static/templates/stream_sidebar_row.handlebars
Brock Whittaker c506a92d05 left-sidebar: Restyle to have new look.
This restyles the color swatches to either be locks or hashes,
and changes the notifications to be rounded rather than squared.
2017-04-25 17:47:36 -07:00

19 lines
738 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}}">
<div class="subscription_block selectable_sidebar_block" data-name="{{name}}">
<span id="stream_sidebar_privacy_swatch_{{id}}" class="stream-privacy" style="color: {{color}}">
{{! This controls whether the swatchnext to streams in the left sidebar has a lock icon. }}
{{ partial "stream_privacy" }}
</span>
<a href="{{uri}}" class="stream-name">{{name}}</a>
<div class="count"><div class="value"></div></div>
</div>
<span class="arrow stream-sidebar-arrow"><i class="icon-vector-chevron-down"></i></span>
</li>