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.

stream settings: Move subscription_table_body.hbs to stream_settings.

m-e-l-u-h-a-na61048e16777
diff --git a/static/js/stream_settings_ui.js b/static/js/stream_settings_ui.js
index 2d49655fb69..f764d083ab8 100644
--- a/static/js/stream_settings_ui.js
+++ b/static/js/stream_settings_ui.js
@@ -4,8 +4,8 @@ import tippy from "tippy.js";
import render_unsubscribe_private_stream_modal from "../templates/confirm_dialog/confirm_unsubscribe_private_stream.hbs";
import render_stream_settings from "../templates/stream_settings/stream_settings.hbs";
+import render_stream_settings_overlay from "../templates/stream_settings/stream_settings_overlay.hbs";
import render_subscription from "../templates/subscription.hbs";
-import render_subscription_table_body from "../templates/subscription_table_body.hbs";
import render_subscriptions from "../templates/subscriptions.hbs";
import * as blueslip from "./blueslip";
@@ -620,7 +620,7 @@ export function setup_page(callback) {
!page_params.zulip_plan_is_not_limited || !page_params.is_owner,
};
- const rendered = render_subscription_table_body(template_data);
+ const rendered = render_stream_settings_overlay(template_data);
$("#subscriptions_table").append(rendered);
render_left_panel_superset();
diff --git a/static/templates/subscription_table_body.hbs b/static/templates/stream_settings/stream_settings_overlay.hbs
similarity index 97%
rename from static/templates/subscription_table_body.hbs
rename to static/templates/stream_settings/stream_settings_overlay.hbs
index c6a0c6fd9a4..1a0b8d1d050 100644
--- a/static/templates/subscription_table_body.hbs
+++ b/static/templates/stream_settings/stream_settings_overlay.hbs
@@ -45,7 +45,7 @@
<div id="stream_settings" class="settings" data-simplebar data-simplebar-auto-hide="false">
{{!-- edit stream here --}}
</div>
- {{> stream_settings/stream_creation_form }}
+ {{> stream_creation_form }}
</div>
</div>
</div>