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_creation_form.hbs to stream_settings.

m-e-l-u-h-a-n1a5566bf9b79
diff --git a/static/templates/stream_creation_form.hbs b/static/templates/stream_settings/stream_creation_form.hbs
similarity index 98%
rename from static/templates/stream_creation_form.hbs
rename to static/templates/stream_settings/stream_creation_form.hbs
index dd9456b052b..7f5e720a42d 100644
--- a/static/templates/stream_creation_form.hbs
+++ b/static/templates/stream_settings/stream_creation_form.hbs
@@ -30,7 +30,7 @@
{{/tr}}
</div>
- {{> stream_settings/stream_types
+ {{> stream_types
stream_privacy_policy=stream_privacy_policy_values.public.code
stream_post_policy=stream_post_policy_values.everyone.code
is_stream_edit=false }}
diff --git a/static/templates/subscription_table_body.hbs b/static/templates/subscription_table_body.hbs
index 1a0b8d1d050..c6a0c6fd9a4 100644
--- a/static/templates/subscription_table_body.hbs
+++ b/static/templates/subscription_table_body.hbs
@@ -45,7 +45,7 @@
<div id="stream_settings" class="settings" data-simplebar data-simplebar-auto-hide="false">
{{!-- edit stream here --}}
</div>
- {{> stream_creation_form }}
+ {{> stream_settings/stream_creation_form }}
</div>
</div>
</div>