Files
zulip/static/templates/sidebar_subject_list.handlebars
Steve Howell 78e936fc36 [staging] Add "Show more topics..." link to topic lists.
This link lets you zoom in to more topics.  We only show it if
there are topics that we had to hide to respect the max-5 limit
along with other rules of when you show topics.

This is feature flagged to staging only.

(imported from commit 9915004ec2eb3df7416fe45c0e60cebcd7fecfea)
2013-11-26 10:34:09 -05:00

23 lines
787 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>
<span class="arrow topic-sidebar-arrow">
<i class="icon-vector-chevron-down"></i>
</span>
</li>
{{/each}}
{{#if want_show_more_topics_links}}
<li class="show-more-topics" data-stream="{{stream}}">
<a href="#">Show more topics...</a>
</li>
{{/if}}
</ul>