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 stream description templates to stream_settings.

m-e-l-u-h-a-nc213ed575ad0
diff --git a/static/js/stream_edit.js b/static/js/stream_edit.js
index a3eb4456bd5..706b6373b96 100644
--- a/static/js/stream_edit.js
+++ b/static/js/stream_edit.js
@@ -3,7 +3,7 @@ import $ from "jquery";
import render_change_stream_info_modal from "../templates/change_stream_info_modal.hbs";
import render_settings_deactivation_stream_modal from "../templates/confirm_dialog/confirm_deactivate_stream.hbs";
import render_unsubscribe_private_stream_modal from "../templates/confirm_dialog/confirm_unsubscribe_private_stream.hbs";
-import render_stream_description from "../templates/stream_description.hbs";
+import render_stream_description from "../templates/stream_settings/stream_description.hbs";
import render_stream_member_list_entry from "../templates/stream_settings/stream_member_list_entry.hbs";
import render_stream_subscription_request_result from "../templates/stream_subscription_request_result.hbs";
import render_subscription_settings from "../templates/subscription_settings.hbs";
diff --git a/static/templates/stream_description.hbs b/static/templates/stream_settings/stream_description.hbs
similarity index 100%
rename from static/templates/stream_description.hbs
rename to static/templates/stream_settings/stream_description.hbs
diff --git a/static/templates/subscription_settings.hbs b/static/templates/subscription_settings.hbs
index 4346e41f04b..002e2a72e87 100644
--- a/static/templates/subscription_settings.hbs
+++ b/static/templates/subscription_settings.hbs
@@ -33,7 +33,7 @@
</div>
</div>
<div class="stream-description">
- {{> stream_description
+ {{> stream_settings/stream_description
rendered_description=rendered_description
}}
</div>