Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

invite_users: Add globe icon in web public streams.

SameepAherebd0908ae6b2
diff --git a/static/templates/invite_subscription.hbs b/static/templates/invite_subscription.hbs
index 91f5716a93f..f80d89f6e6d 100644
--- a/static/templates/invite_subscription.hbs
+++ b/static/templates/invite_subscription.hbs
@@ -10,11 +10,12 @@
<input type="checkbox" name="stream" value="{{stream_id}}"
{{#if default_stream}}checked="checked"{{/if}} />
<span></span>
- {{#if invite_only}}<i class="fa fa-lock" aria-hidden="true"></i>{{/if}}
- {{#if (eq name ../notifications_stream)}}
- #{{name}} <i>({{t 'Receives new stream announcements' }})</i>
+ {{#if (or invite_only is_web_public)}} {{>stream_privacy}} {{name}}
{{else}}
- {{#if (not invite_only)}}#{{/if}}{{name}}
+ #{{name}}
+ {{/if}}
+ {{#if (eq name ../notifications_stream)}}
+ <i>({{t 'Receives new stream announcements' }})</i>
{{/if}}
</label>
{{/each}}