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

44 lines
1.3 KiB
Handlebars
Raw Normal View History

{{! 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>
{{#tr this}}Narrow to stream <b>__stream.name__</b>{{/tr}}
</a>
</li>
<li>
<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="compose_to_stream">
<i class="icon-vector-edit"></i>
{{#tr this}}Compose a message to stream <b>__stream.name__</b>{{/tr}}
</a>
</li>
<li>
<a class="mark_stream_as_read">
<i class="icon-vector-book"></i>
{{#tr this}}Mark all messages in <b>__stream.name__</b> as read{{/tr}}
</a>
</li>
<li>
<a class="open_stream_settings">
<i class="icon-vector-cog"></i>
{{t "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">{{t "Choose custom color" }}</a>
</li>
</ul>