zulip/static/templates/stream_sidebar_actions.hand...

44 lines
1.2 KiB
Handlebars

{{! Contents of the "stream actions" popup }}
<ul class="nav nav-list streams_popover" data-id="{{ stream.stream_id }}" data-name="{{ stream.name }}">
<li>
<a class="narrow_to_stream">
<i class="icon-vector-bullhorn"></i>
Narrow to stream <b>{{stream.name}}</b>
</a>
</li>
<li>
<a class="toggle_home">
{{#if stream.in_home_view}}
<i class="icon-vector-eye-close"></i>
Mute the stream <b>{{stream.name}}</b>
{{else}}
<i class="icon-vector-eye-open"></i>
Unmute the stream <b>{{stream.name}}</b>
{{/if}}
</a>
</li>
<li>
<a class="compose_to_stream">
<i class="icon-vector-edit"></i>
Compose a message to stream <b>{{stream.name}}</b>
</a>
</li>
<li>
<a class="mark_stream_as_read">
<i class="icon-vector-book"></i>
Mark all messages in <b>{{stream.name}}</b> as read
</a>
</li>
<li>
<a class="open_stream_settings">
<i class="icon-vector-cog"></i>
Stream settings
</a>
</li>
<li>
<span class="colorpicker-container"><input stream_name="{{stream.name}}" class="colorpicker" type="text" value="{{stream.color}}" /></span>
<a class="custom_color">Choose custom color</a>
</li>
</ul>