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 }}">
|
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}}
|
|
|
|
{{#tr this}}Unpin stream <b>__stream.name__</b> from top{{/tr}}
|
|
|
|
{{else}}
|
|
|
|
{{#tr this}}Pin stream <b>__stream.name__</b> to top{{/tr}}
|
|
|
|
{{/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>
|
2017-03-10 07:46:07 +01:00
|
|
|
{{#tr this}}Mark all messages in <b>__stream.name__</b> as read{{/tr}}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a class="toggle_home">
|
2019-05-15 08:54:25 +02:00
|
|
|
{{#if stream.is_muted}}
|
2020-03-07 04:01:25 +01:00
|
|
|
<i class="fa fa-bell" aria-hidden="true"></i>
|
2017-03-10 07:46:07 +01:00
|
|
|
{{#tr this}}Unmute the stream <b>__stream.name__</b>{{/tr}}
|
2019-05-15 08:54:25 +02:00
|
|
|
{{else}}
|
2020-03-07 04:01:25 +01:00
|
|
|
<i class="fa fa-bell-slash" aria-hidden="true"></i>
|
2019-05-15 08:54:25 +02:00
|
|
|
{{#tr this}}Mute the stream <b>__stream.name__</b>{{/tr}}
|
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>
|
|
|
|
<a class="custom_color">{{t "Choose custom color" }}</a>
|
|
|
|
</li>
|
2013-05-14 21:02:10 +02:00
|
|
|
|
|
|
|
</ul>
|