2013-09-17 23:04:44 +02:00
|
|
|
<ul class="nav nav-list topics_popover">
|
2020-05-15 16:08:25 +02:00
|
|
|
<li>
|
|
|
|
<p class="topic-name">
|
2020-06-20 17:50:19 +02:00
|
|
|
<i class="fa fa-chevron-right" aria-hidden="true" style="color: {{color}}"></i>
|
2020-05-15 16:08:25 +02:00
|
|
|
<b>{{topic_name}}</b>
|
|
|
|
</p>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
|
2020-07-09 03:18:27 +02:00
|
|
|
{{! tabindex="0" Makes anchor tag focusable. Needed for keyboard support. }}
|
2017-02-15 21:11:59 +01:00
|
|
|
<li>
|
2020-07-09 03:18:27 +02:00
|
|
|
<a tabindex="0" class="narrow_to_topic" data-stream-id="{{ stream_id }}" data-topic-name="{{ topic_name }}">
|
2017-06-08 07:09:57 +02:00
|
|
|
<i class="fa fa-bullhorn" aria-hidden="true"></i>
|
2020-05-15 16:08:25 +02:00
|
|
|
{{t "Narrow to topic"}}
|
2017-02-15 21:11:59 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
2013-09-18 00:29:42 +02:00
|
|
|
|
|
|
|
|
2017-02-15 21:11:59 +01:00
|
|
|
{{#if can_mute_topic}}
|
|
|
|
<li>
|
2020-07-09 03:18:27 +02:00
|
|
|
<a tabindex="0" class="sidebar-popover-mute-topic" data-stream-id="{{ stream_id }}" data-topic-name="{{ topic_name }}">
|
2020-03-07 04:01:25 +01:00
|
|
|
<i class="fa fa-bell-slash" aria-hidden="true"></i>
|
2020-05-15 16:08:25 +02:00
|
|
|
{{t "Mute topic"}}
|
2017-02-15 21:11:59 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
2013-09-18 00:29:42 +02:00
|
|
|
|
2017-02-15 21:11:59 +01:00
|
|
|
{{#if can_unmute_topic}}
|
|
|
|
<li>
|
2020-07-09 03:18:27 +02:00
|
|
|
<a tabindex="0" class="sidebar-popover-unmute-topic" data-stream-id="{{ stream_id }}" data-topic-name="{{ topic_name }}">
|
2020-03-07 04:01:25 +01:00
|
|
|
<i class="fa fa-bell" aria-hidden="true"></i>
|
2020-05-15 16:08:25 +02:00
|
|
|
{{t "Unmute topic"}}
|
2017-02-15 21:11:59 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
2021-03-08 09:25:25 +01:00
|
|
|
|
|
|
|
{{#if has_starred_messages}}
|
|
|
|
<li>
|
|
|
|
<a href="#" class="sidebar-popover-unstar-all-in-topic" data-stream-id="{{ stream_id }}" data-topic-name="{{ topic_name }}">
|
|
|
|
<i class="fa fa-star-o" aria-hidden="true"></i>
|
|
|
|
{{#tr this}}Unstar all messages in topic{{/tr}}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
|
2017-02-15 21:11:59 +01:00
|
|
|
<li>
|
2020-07-09 03:18:27 +02:00
|
|
|
<a tabindex="0" class="sidebar-popover-mark-topic-read" data-stream-id="{{ stream_id }}" data-topic-name="{{ topic_name }}">
|
2017-06-08 07:09:57 +02:00
|
|
|
<i class="fa fa-book" aria-hidden="true"></i>
|
2020-05-15 16:08:25 +02:00
|
|
|
{{t "Mark all messages as read"}}
|
2017-02-15 21:11:59 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
2016-05-08 15:20:51 +02:00
|
|
|
|
2020-08-15 21:04:05 +02:00
|
|
|
{{#if is_realm_admin}}
|
2020-05-15 16:08:25 +02:00
|
|
|
|
|
|
|
<div class="admin-separator">{{#tr this}}ADMIN ACTIONS{{/tr}}</div>
|
|
|
|
|
2019-01-18 17:40:54 +01:00
|
|
|
<li>
|
2020-07-09 03:18:27 +02:00
|
|
|
<a tabindex="0" class="sidebar-popover-delete-topic-messages" data-stream-id="{{ stream_id }}" data-topic-name="{{ topic_name }}">
|
2019-01-18 17:40:54 +01:00
|
|
|
<i class="fa fa-trash" aria-hidden="true"></i>
|
2020-12-16 05:41:46 +01:00
|
|
|
{{t "Delete topic"}}
|
2019-01-18 17:40:54 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
2013-09-18 00:29:42 +02:00
|
|
|
|
2020-08-15 21:04:05 +02:00
|
|
|
{{#if is_realm_admin}}
|
2020-02-19 01:38:34 +01:00
|
|
|
<li>
|
2020-07-09 03:18:27 +02:00
|
|
|
<a tabindex="0" class="sidebar-popover-move-topic-messages" data-stream-id="{{ stream_id }}" data-topic-name="{{ topic_name }}">
|
2020-02-19 01:38:34 +01:00
|
|
|
<i class="fa fa-arrows" aria-hidden="true"></i>
|
2020-06-10 21:11:54 +02:00
|
|
|
{{t "Move topic"}}
|
2020-02-19 01:38:34 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
|
2013-09-17 23:04:44 +02:00
|
|
|
</ul>
|