stream settings: Move subscription_table_body.hbs to stream_settings.

Following changes are done to subscription_table_body.hbs:

* Rename subscription_table_body.hbs to stream_settings_overlay.hbs,
  to have a uniform naming pattern for stream settings templates.

* Move it to stream_settings folder.
This commit is contained in:
m-e-l-u-h-a-n 2021-07-19 10:34:32 +05:30 committed by Tim Abbott
parent 1a5566bf9b
commit a61048e167
2 changed files with 3 additions and 3 deletions

View File

@ -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();

View File

@ -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>