zulip/static/templates/sidebar_subject_list.handle...

20 lines
681 B
Handlebars

<ul class='expanded_subjects' data-stream='{{stream}}'>
{{#each subjects}}
<li class='{{#if is_zero}}zero-subject-unreads{{/if}} {{#if is_muted}}muted_topic{{/if}} expanded_subject' data-name='{{topic_name}}'>
<span class='subject_box'>
<a href='{{url}}' class="subject-name">
{{topic_name}}
</a>
<div class="subject_count {{#if is_zero}}zero_count{{/if}}">
<div class="value">{{unread}}</div>
</div>
</span>
{{#if ../topic_sidebar_arrow}}
<span class="arrow topic-sidebar-arrow">
<i class="icon-vector-chevron-down"></i>
</span>
{{/if}}
</li>
{{/each}}
</ul>