Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
settings: Use a separate template for new channel members title.
Sahil Batra1026a9ad8071
diff --git a/web/src/stream_settings_components.ts b/web/src/stream_settings_components.tsindex 4b0483bf7a6..6ef66833aac 100644--- a/web/src/stream_settings_components.ts+++ b/web/src/stream_settings_components.ts@@ -3,6 +3,7 @@ import * as z from "zod/mini";import render_unsubscribe_private_stream_modal from "../templates/confirm_dialog/confirm_unsubscribe_private_stream.hbs";import render_inline_decorated_channel_name from "../templates/inline_decorated_channel_name.hbs";+import render_new_channel_members_title from "../templates/stream_settings/new_channel_members_title.hbs";import render_selected_stream_title from "../templates/stream_settings/selected_stream_title.hbs";import * as blueslip from "./blueslip.ts";@@ -77,7 +78,7 @@ export const show_subs_pane = {} else {$("#subscription_overlay .stream-info-title").html(- render_selected_stream_title({+ render_new_channel_members_title({sub: sub ?? {name: "",invite_only: false,diff --git a/web/templates/stream_settings/new_channel_members_title.hbs b/web/templates/stream_settings/new_channel_members_title.hbsnew file mode 100644index 00000000000..c3fa54eee70--- /dev/null+++ b/web/templates/stream_settings/new_channel_members_title.hbs@@ -0,0 +1,8 @@+<span>+ {{t "Add subscribers to "}}+ {{> stream_privacy_icon+ invite_only=sub.invite_only+ is_web_public=sub.is_web_public+ is_archived=sub.is_archived }}+ <span class="stream-name-title">{{sub.name}}</span>+</span>