Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
stream-settings: Rename variables for stream name/description maxlength.
jai220151f2a7f5f459
diff --git a/static/js/stream_settings_ui.js b/static/js/stream_settings_ui.jsindex 168f65e016a..77180d02319 100644--- a/static/js/stream_settings_ui.js+++ b/static/js/stream_settings_ui.js@@ -625,8 +625,8 @@ export function setup_page(callback) {settings_data.user_can_create_public_streams() ||settings_data.user_can_create_web_public_streams(),hide_all_streams: !should_list_all_streams(),- max_name_length: page_params.max_stream_name_length,- max_description_length: page_params.max_stream_description_length,+ max_stream_name_length: page_params.max_stream_name_length,+ max_stream_description_length: page_params.max_stream_description_length,is_owner: page_params.is_owner,stream_privacy_policy_values: stream_data.stream_privacy_policy_values,stream_privacy_policy,diff --git a/static/templates/stream_settings/stream_creation_form.hbs b/static/templates/stream_settings/stream_creation_form.hbsindex ce1740d8602..02a5aed1857 100644--- a/static/templates/stream_settings/stream_creation_form.hbs+++ b/static/templates/stream_settings/stream_creation_form.hbs@@ -9,7 +9,7 @@{{t "Stream name" }}</label><input type="text" name="stream_name" id="create_stream_name"- placeholder="{{t 'Stream name' }}" value="" autocomplete="off" maxlength="{{ max_name_length }}" />+ placeholder="{{t 'Stream name' }}" value="" autocomplete="off" maxlength="{{ max_stream_name_length }}" /><div id="stream_name_error" class="stream_creation_error"></div></section><section class="block">@@ -17,7 +17,7 @@{{t "Stream description" }}</label><input type="text" name="stream_description" id="create_stream_description"- placeholder="{{t 'Stream description' }}" value="" autocomplete="off" maxlength="{{ max_description_length }}" />+ placeholder="{{t 'Stream description' }}" value="" autocomplete="off" maxlength="{{ max_stream_description_length }}" /></section><section class="block" id="make-invite-only"><div class="stream-types">