Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
stream settings: Clean unnecessary elements in stream settings.
m-e-l-u-h-a-n8a2cc75e0e3e
diff --git a/static/js/subs.js b/static/js/subs.jsindex 54e7893705a..ba8aae93232 100644--- a/static/js/subs.js+++ b/static/js/subs.js@@ -39,20 +39,20 @@ import * as util from "./util";export const show_subs_pane = {nothing_selected() {- $(".stream-info-title, .settings, #stream-creation").hide();- $("#stream_settings_title, .nothing-selected").show();+ $(".settings, #stream-creation").hide();+ $(".nothing-selected").show();$("#subscription_overlay .stream-info-title").text($t({defaultMessage: "Stream settings"}));},settings(stream_name) {- $(".stream-info-title, .settings, #stream-creation").hide();- $("#stream_settings_title, .settings").show();+ $(".settings, #stream-creation").hide();+ $(".settings").show();$("#subscription_overlay .stream-info-title").text($t({defaultMessage: "Settings for #{stream_name}"}, {stream_name}),);},create_stream() {- $(".stream-info-title, .nothing-selected, .settings, #stream-creation").hide();- $("#add_new_stream_title, #stream-creation").show();+ $(".nothing-selected, .settings, #stream-creation").hide();+ $("#stream-creation").show();$("#subscription_overlay .stream-info-title").text($t({defaultMessage: "Create stream"}));},};diff --git a/static/templates/subscription_table_body.hbs b/static/templates/subscription_table_body.hbsindex 84aec7f3f28..12e530dd47d 100644--- a/static/templates/subscription_table_body.hbs+++ b/static/templates/subscription_table_body.hbs@@ -29,7 +29,6 @@</div><div class="right"><div class="display-type">- <div id="add_new_stream_title" class="stream-info-title">{{t 'Create stream' }}</div><div id="stream_settings_title" class="stream-info-title">{{t 'Stream settings' }}</div></div><div class="nothing-selected">