mirror of https://github.com/zulip/zulip.git
recipient_row: Show globe icon for web public streams.
This commit is contained in:
parent
e8ec42bf8a
commit
a7b2c7f7ea
|
@ -148,6 +148,7 @@ function populate_group_from_message_container(group, message_container) {
|
|||
group.background_color = stream_data.get_color(message_container.msg.stream);
|
||||
group.color_class = color_class.get_css_class(group.background_color);
|
||||
group.invite_only = stream_data.get_invite_only(message_container.msg.stream);
|
||||
group.is_web_public = stream_data.is_web_public(message_container.msg.stream_id);
|
||||
group.topic = message_container.msg.topic;
|
||||
group.match_topic = util.get_match_topic(message_container.msg);
|
||||
group.stream_url = message_container.stream_url;
|
||||
|
|
|
@ -11,6 +11,9 @@
|
|||
{{#if invite_only}}
|
||||
<i class="fa fa-lock recipient-row-stream-icon" title="{{t 'This is a private stream' }}" aria-label="{{t 'This is a private stream' }}"></i>
|
||||
{{/if}}
|
||||
{{#if is_web_public}}
|
||||
<i class="fa fa-globe recipient-row-stream-icon" title="{{t 'This is a web public stream' }}" aria-label="{{t 'This is a web public stream' }}"></i>
|
||||
{{/if}}
|
||||
{{display_recipient}}</a>
|
||||
|
||||
{{! hidden narrow icon for copy-pasting }}
|
||||
|
|
Loading…
Reference in New Issue