mirror of https://github.com/zulip/zulip.git
65 lines
1.9 KiB
Handlebars
65 lines
1.9 KiB
Handlebars
<ul class="nav nav-list topics_popover">
|
|
<li>
|
|
<p class="topic-name">
|
|
<i class="fa fa-chevron-right" aria-hidden="true" style="color: {{color}}"></i>
|
|
<b>{{topic_name}}</b>
|
|
</p>
|
|
</li>
|
|
|
|
<hr>
|
|
|
|
<li>
|
|
<a class="narrow_to_topic" data-stream-id="{{ stream_id }}" data-topic-name="{{ topic_name }}">
|
|
<i class="fa fa-bullhorn" aria-hidden="true"></i>
|
|
{{t "Narrow to topic"}}
|
|
</a>
|
|
</li>
|
|
|
|
|
|
{{#if can_mute_topic}}
|
|
<li>
|
|
<a href="#" class="sidebar-popover-mute-topic" data-stream-id="{{ stream_id }}" data-topic-name="{{ topic_name }}">
|
|
<i class="fa fa-bell-slash" aria-hidden="true"></i>
|
|
{{t "Mute topic"}}
|
|
</a>
|
|
</li>
|
|
{{/if}}
|
|
|
|
{{#if can_unmute_topic}}
|
|
<li>
|
|
<a href="#" class="sidebar-popover-unmute-topic" data-stream-id="{{ stream_id }}" data-topic-name="{{ topic_name }}">
|
|
<i class="fa fa-bell" aria-hidden="true"></i>
|
|
{{t "Unmute topic"}}
|
|
</a>
|
|
</li>
|
|
{{/if}}
|
|
<li>
|
|
<a class="sidebar-popover-mark-topic-read" data-stream-id="{{ stream_id }}" data-topic-name="{{ topic_name }}">
|
|
<i class="fa fa-book" aria-hidden="true"></i>
|
|
{{t "Mark all messages as read"}}
|
|
</a>
|
|
</li>
|
|
|
|
{{#if is_admin}}
|
|
|
|
<div class="admin-separator">{{#tr this}}ADMIN ACTIONS{{/tr}}</div>
|
|
|
|
<li>
|
|
<a class="sidebar-popover-delete-topic-messages" data-stream-id="{{ stream_id }}" data-topic-name="{{ topic_name }}">
|
|
<i class="fa fa-trash" aria-hidden="true"></i>
|
|
{{t "Delete all messages in topic"}}
|
|
</a>
|
|
</li>
|
|
{{/if}}
|
|
|
|
{{#if is_admin}}
|
|
<li>
|
|
<a class="sidebar-popover-move-topic-messages" data-stream-id="{{ stream_id }}" data-topic-name="{{ topic_name }}">
|
|
<i class="fa fa-arrows" aria-hidden="true"></i>
|
|
{{t "Move topic"}}
|
|
</a>
|
|
</li>
|
|
{{/if}}
|
|
|
|
</ul>
|