zulip/web/templates/topic_list_item.hbs

26 lines
1.1 KiB
Handlebars
Raw Normal View History

<li class="bottom_left_row {{#if is_active_topic}}active-sub-filter{{/if}} {{#if is_zero}}zero-topic-unreads{{/if}} {{#if is_muted}}muted_topic{{/if}} {{#if is_unmuted_or_followed}}unmuted_or_followed_topic{{/if}} topic-list-item" data-topic-name="{{topic_name}}">
<div class="topic-box">
<span class="sidebar-topic-check">
{{topic_resolved_prefix}}
</span>
<a href="{{url}}" class="topic-name" title="{{topic_name}}">
{{topic_display_name}}
</a>
<div class="topic-markers-and-controls">
{{#if contains_unread_mention}}
<span class="unread_mention_info">
@
</span>
{{else if is_followed}}
<i class="zulip-icon zulip-icon-follow" aria-hidden="true"></i>
{{/if}}
<span class="unread_count {{#if is_zero}}zero_count{{/if}}">
{{unread}}
</span>
</div>
<span class="sidebar-menu-icon topic-sidebar-menu-icon">
<i class="zulip-icon zulip-icon-more-vertical" aria-hidden="true"></i>
</span>
</div>
</li>