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>
|
|
|
|
|
2021-04-21 00:46:14 +02:00
|
|
|
<hr />
|
2020-05-15 16:08:25 +02:00
|
|
|
|
2021-04-30 08:30:50 +02:00
|
|
|
{{#unless topic_muted}}
|
2017-02-15 21:11:59 +01:00
|
|
|
<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>
|
2021-04-30 08:30:50 +02:00
|
|
|
{{else}}
|
2017-02-15 21:11:59 +01:00
|
|
|
<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>
|
2021-04-30 08:30:50 +02:00
|
|
|
{{/unless}}
|
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>
|
2021-04-14 03:04:02 +02:00
|
|
|
{{#tr}}Unstar all messages in topic{{/tr}}
|
2021-03-08 09:25:25 +01:00
|
|
|
</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
|
|
|
|
2021-04-14 03:04:02 +02:00
|
|
|
<div class="admin-separator">{{#tr}}ADMIN ACTIONS{{/tr}}</div>
|
2020-05-15 16:08:25 +02:00
|
|
|
|
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>
|