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">
|
|
|
|
<span id="stream_sidebar_privacy_swatch_{{stream.stream_id}}" class="stream-privacy filter-icon" style="color: {{stream.color}}">
|
|
|
|
{{> stream_privacy
|
|
|
|
invite_only=stream.invite_only
|
|
|
|
is_web_public=stream.is_web_public }}
|
|
|
|
</span>
|
|
|
|
<b>{{stream.name}}</b>
|
|
|
|
</p>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
|
2017-03-10 07:46:07 +01:00
|
|
|
<li>
|
|
|
|
<a 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>
|
|
|
|
<li>
|
|
|
|
<a 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>
|
|
|
|
<li>
|
|
|
|
<a 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>
|
|
|
|
<li>
|
|
|
|
<a class="toggle_home">
|
2019-05-15 08:54:25 +02:00
|
|
|
{{#if stream.is_muted}}
|
2020-05-20 22:12:29 +02:00
|
|
|
<i class="fa fa-bell" aria-hidden="true"></i>
|
|
|
|
{{t "Unmute stream"}}
|
2019-05-15 08:54:25 +02:00
|
|
|
{{else}}
|
2020-05-20 22:12:29 +02:00
|
|
|
<i class="fa fa-bell-slash" aria-hidden="true"></i>
|
|
|
|
{{t "Mute stream"}}
|
2017-03-10 07:46:07 +01:00
|
|
|
{{/if}}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a 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>
|
|
|
|
<li>
|
|
|
|
<span class="colorpicker-container"><input stream_id="{{stream.stream_id}}" class="colorpicker" type="text" value="{{stream.color}}" /></span>
|
2020-05-01 02:45:40 +02:00
|
|
|
<a class="custom_color">
|
|
|
|
<i class="fa fa-eyedropper" aria-hidden="true"></i>
|
|
|
|
{{t "Choose custom color" }}
|
|
|
|
</a>
|
2017-03-10 07:46:07 +01:00
|
|
|
</li>
|
2013-05-14 21:02:10 +02:00
|
|
|
|
|
|
|
</ul>
|