mirror of https://github.com/zulip/zulip.git
invite_users: Add globe icon in web public streams.
This is implemented by reusing the stream_privacy handlebars helper. We can't use it in the public stream case, because the design of the invite users modal uses no space between the `#` and the stream name. Fixes part of #23496.
This commit is contained in:
parent
7e4b9a3c01
commit
ebd0908ae6
|
@ -10,11 +10,12 @@
|
||||||
<input type="checkbox" name="stream" value="{{stream_id}}"
|
<input type="checkbox" name="stream" value="{{stream_id}}"
|
||||||
{{#if default_stream}}checked="checked"{{/if}} />
|
{{#if default_stream}}checked="checked"{{/if}} />
|
||||||
<span></span>
|
<span></span>
|
||||||
{{#if invite_only}}<i class="fa fa-lock" aria-hidden="true"></i>{{/if}}
|
{{#if (or invite_only is_web_public)}} {{>stream_privacy}} {{name}}
|
||||||
{{#if (eq name ../notifications_stream)}}
|
|
||||||
#{{name}} <i>({{t 'Receives new stream announcements' }})</i>
|
|
||||||
{{else}}
|
{{else}}
|
||||||
{{#if (not invite_only)}}#{{/if}}{{name}}
|
#{{name}}
|
||||||
|
{{/if}}
|
||||||
|
{{#if (eq name ../notifications_stream)}}
|
||||||
|
<i>({{t 'Receives new stream announcements' }})</i>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</label>
|
</label>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
|
Loading…
Reference in New Issue