2013-05-30 21:29:30 +02:00
|
|
|
{{! Contents of the "stream actions" popup }}
|
2017-08-17 01:28:32 +02:00
|
|
|
<ul class="nav nav-list streams_popover" data-stream-id="{{ stream.stream_id }}" data-name="{{ stream.name }}">
|
2020-05-20 22:12:29 +02:00
|
|
|
<li>
|
|
|
|
<p class="topic-name">
|
2023-04-07 23:07:35 +02:00
|
|
|
<span class="stream-privacy-original-color-{{stream.stream_id}} stream-privacy filter-icon" style="color: {{stream.color}}">
|
2020-05-20 22:12:29 +02:00
|
|
|
{{> stream_privacy
|
|
|
|
invite_only=stream.invite_only
|
|
|
|
is_web_public=stream.is_web_public }}
|
|
|
|
</span>
|
|
|
|
<b>{{stream.name}}</b>
|
|
|
|
</p>
|
|
|
|
</li>
|
|
|
|
|
2021-04-21 00:46:14 +02:00
|
|
|
<hr />
|
2020-05-20 22:12:29 +02:00
|
|
|
|
2020-07-08 22:17:16 +02:00
|
|
|
{{! tabindex="0" Makes anchor tag focusable. Needed for keyboard support. }}
|
2017-03-10 07:46:07 +01:00
|
|
|
<li>
|
2020-07-08 22:17:16 +02:00
|
|
|
<a tabindex="0" class="open_stream_settings">
|
2018-07-04 01:47:34 +02:00
|
|
|
<i class="fa fa-cog" aria-hidden="true"></i>
|
2017-03-10 07:46:07 +01:00
|
|
|
{{t "Stream settings" }}
|
|
|
|
</a>
|
|
|
|
</li>
|
2021-09-20 08:23:25 +02:00
|
|
|
<li class="hidden-for-spectators">
|
2020-07-08 22:17:16 +02:00
|
|
|
<a tabindex="0" class="pin_to_top">
|
2018-07-04 01:47:34 +02:00
|
|
|
<i class="fa fa-thumb-tack stream-pin-icon" aria-hidden="true"></i>
|
2017-03-10 07:46:07 +01:00
|
|
|
{{#if stream.pin_to_top}}
|
2020-05-20 22:12:29 +02:00
|
|
|
{{t "Unpin stream from top"}}
|
2017-03-10 07:46:07 +01:00
|
|
|
{{else}}
|
2020-05-20 22:12:29 +02:00
|
|
|
{{t "Pin stream to top"}}
|
2017-03-10 07:46:07 +01:00
|
|
|
{{/if}}
|
|
|
|
</a>
|
|
|
|
</li>
|
2021-09-20 08:23:25 +02:00
|
|
|
<li class="hidden-for-spectators">
|
2020-07-08 22:17:16 +02:00
|
|
|
<a tabindex="0" class="mark_stream_as_read">
|
2018-07-04 01:47:34 +02:00
|
|
|
<i class="fa fa-book" aria-hidden="true"></i>
|
2020-05-20 22:12:29 +02:00
|
|
|
{{t "Mark all messages as read"}}
|
2017-03-10 07:46:07 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
2021-09-20 08:23:25 +02:00
|
|
|
<li class="hidden-for-spectators">
|
2020-07-08 22:17:16 +02:00
|
|
|
<a tabindex="0" class="toggle_stream_muted">
|
2019-05-15 08:54:25 +02:00
|
|
|
{{#if stream.is_muted}}
|
2022-04-21 17:31:34 +02:00
|
|
|
<i class="zulip-icon zulip-icon-mute" aria-hidden="true"></i>
|
2020-05-20 22:12:29 +02:00
|
|
|
{{t "Unmute stream"}}
|
2019-05-15 08:54:25 +02:00
|
|
|
{{else}}
|
2022-04-21 17:31:34 +02:00
|
|
|
<i class="zulip-icon zulip-icon-mute" aria-hidden="true"></i>
|
2020-05-20 22:12:29 +02:00
|
|
|
{{t "Mute stream"}}
|
2017-03-10 07:46:07 +01:00
|
|
|
{{/if}}
|
|
|
|
</a>
|
|
|
|
</li>
|
2021-01-19 15:27:49 +01:00
|
|
|
<li>
|
|
|
|
<a tabindex="0" class="popover_new_topic_button">
|
|
|
|
<i class="fa fa-plus" aria-hidden="true"></i>
|
|
|
|
{{t "New topic" }}
|
|
|
|
</a>
|
|
|
|
</li>
|
2021-09-20 08:23:25 +02:00
|
|
|
<li class="hidden-for-spectators">
|
2020-07-08 22:17:16 +02:00
|
|
|
<a tabindex="0" class="popover_sub_unsub_button" data-name="{{stream.name}}">
|
2018-07-04 01:47:34 +02:00
|
|
|
<i class='fa fa-envelope' aria-hidden="true"></i>
|
2017-03-25 11:21:37 +01:00
|
|
|
{{t "Unsubscribe" }}
|
2017-03-10 07:46:07 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
2023-09-30 09:47:11 +02:00
|
|
|
<li class="hidden-for-spectators no-auto-hide-left-sidebar-overlay">
|
2017-03-10 07:46:07 +01:00
|
|
|
<span class="colorpicker-container"><input stream_id="{{stream.stream_id}}" class="colorpicker" type="text" value="{{stream.color}}" /></span>
|
2020-07-08 22:17:16 +02:00
|
|
|
<a tabindex="0" class="choose_stream_color">
|
2020-05-01 02:45:40 +02:00
|
|
|
<i class="fa fa-eyedropper" aria-hidden="true"></i>
|
2020-06-10 18:55:51 +02:00
|
|
|
{{t "Change color" }}
|
2020-05-01 02:45:40 +02:00
|
|
|
</a>
|
2017-03-10 07:46:07 +01:00
|
|
|
</li>
|
2013-05-14 21:02:10 +02:00
|
|
|
|
|
|
|
</ul>
|