From 0bc47b1c77b31651c0916f47515d4708b770834a Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Wed, 14 Dec 2022 21:03:19 -0800 Subject: [PATCH] invite: Display globe icon for web-public streams. This requires both passing through the is_web_public parameter to the template, and a bit of CSS to make the globe not huge. --- static/js/stream_data.js | 1 + static/styles/zulip.css | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/static/js/stream_data.js b/static/js/stream_data.js index 9df146ea32..06efc17a9c 100644 --- a/static/js/stream_data.js +++ b/static/js/stream_data.js @@ -416,6 +416,7 @@ export function get_invite_stream_data() { name: sub.name, stream_id: sub.stream_id, invite_only: sub.invite_only, + is_web_public: sub.is_web_public, default_stream: default_stream_ids.has(sub.stream_id), }; } diff --git a/static/styles/zulip.css b/static/styles/zulip.css index 3f6c251228..a7953582ec 100644 --- a/static/styles/zulip.css +++ b/static/styles/zulip.css @@ -2588,6 +2588,10 @@ textarea.invitee_emails { #invite-stream-checkboxes { padding-bottom: 26px; + + i.zulip-icon-globe { + font-size: 80%; + } } #invite-method-choice {