2013-05-30 21:29:30 +02:00
|
|
|
{{! Contents of the "stream actions" popup }}
|
2014-02-07 16:55:54 +01:00
|
|
|
<ul class="nav nav-list streams_popover" data-id="{{ stream.stream_id }}" data-name="{{ stream.name }}">
|
2013-05-14 21:02:10 +02:00
|
|
|
<li>
|
2016-08-23 02:46:12 +02:00
|
|
|
<a class="open_stream_settings">
|
|
|
|
<i class="icon-vector-cog"></i>
|
|
|
|
{{t "Stream settings" }}
|
2013-05-14 21:02:10 +02:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
2016-08-23 02:46:12 +02:00
|
|
|
<a class="narrow_to_stream">
|
|
|
|
<i class="icon-vector-bullhorn"></i>
|
|
|
|
{{#tr this}}Narrow to stream <b>__stream.name__</b>{{/tr}}
|
2013-05-14 21:02:10 +02:00
|
|
|
</a>
|
|
|
|
</li>
|
2016-07-01 07:26:09 +02:00
|
|
|
<li>
|
|
|
|
<a class="pin_to_top">
|
|
|
|
<i class="icon-vector-pushpin stream-pin-icon"></i>
|
|
|
|
{{#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>
|
2013-05-14 21:02:10 +02:00
|
|
|
<li>
|
|
|
|
<a class="compose_to_stream">
|
|
|
|
<i class="icon-vector-edit"></i>
|
2016-05-12 13:53:41 +02:00
|
|
|
{{#tr this}}Compose a message to stream <b>__stream.name__</b>{{/tr}}
|
2013-05-14 21:02:10 +02:00
|
|
|
</a>
|
|
|
|
</li>
|
2016-05-08 15:20:51 +02:00
|
|
|
<li>
|
|
|
|
<a class="mark_stream_as_read">
|
|
|
|
<i class="icon-vector-book"></i>
|
2016-05-12 13:53:41 +02:00
|
|
|
{{#tr this}}Mark all messages in <b>__stream.name__</b> as read{{/tr}}
|
2016-05-08 15:20:51 +02:00
|
|
|
</a>
|
|
|
|
</li>
|
2013-06-18 22:15:41 +02:00
|
|
|
<li>
|
2016-08-23 02:46:12 +02:00
|
|
|
<a class="toggle_home">
|
|
|
|
{{#if stream.in_home_view}}
|
|
|
|
<i class="icon-vector-eye-close"></i>
|
|
|
|
{{#tr this}}Mute the stream <b>__stream.name__</b>{{/tr}}
|
|
|
|
{{else}}
|
|
|
|
<i class="icon-vector-eye-open"></i>
|
|
|
|
{{#tr this}}Unmute the stream <b>__stream.name__</b>{{/tr}}
|
|
|
|
{{/if}}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a class="popover_sub_unsub_button" data-name="{{stream.name}}">
|
|
|
|
<i class='icon-vector-envelope'></i>
|
2013-06-18 22:15:41 +02:00
|
|
|
</a>
|
|
|
|
</li>
|
2013-05-17 21:35:17 +02:00
|
|
|
<li>
|
2016-11-05 00:24:55 +01:00
|
|
|
<span class="colorpicker-container"><input stream_id="{{stream.stream_id}}" class="colorpicker" type="text" value="{{stream.color}}" /></span>
|
2016-05-12 13:53:41 +02:00
|
|
|
<a class="custom_color">{{t "Choose custom color" }}</a>
|
2013-05-17 21:35:17 +02:00
|
|
|
</li>
|
2013-05-14 21:02:10 +02:00
|
|
|
|
|
|
|
</ul>
|