diff --git a/static/js/stream_ui_updates.js b/static/js/stream_ui_updates.js index 8865409755..086c139b6b 100644 --- a/static/js/stream_ui_updates.js +++ b/static/js/stream_ui_updates.js @@ -81,9 +81,9 @@ export function update_regular_sub_settings(sub) { $settings.find(".email-address").text(sub.email_address); $settings.find(".stream-email-box").show(); } - $settings.find(".regular_subscription_settings").addClass("in"); + $settings.find(".personal_settings").addClass("in"); } else { - $settings.find(".regular_subscription_settings").removeClass("in"); + $settings.find(".personal_settings").removeClass("in"); // Clear email address widget $settings.find(".email-address").html(""); } diff --git a/static/templates/subscription_settings.hbs b/static/templates/subscription_settings.hbs index c01d68ec25..535fbcca56 100644 --- a/static/templates/subscription_settings.hbs +++ b/static/templates/subscription_settings.hbs @@ -1,47 +1,47 @@
- {{#with sub}} -
- {{> subscription_privacy - invite_only=invite_only - is_web_public=is_web_public }} -
- {{name}} -
-
-
- -
- +
+ {{#with sub}} +
+ {{> subscription_privacy + invite_only=invite_only + is_web_public=is_web_public }} +
+ {{name}} +
+
+
+ +
+ +
+ + {{#if is_realm_admin}} + + {{/if}}
- - - - {{#if is_realm_admin}} - - {{/if}}
-
-
- - {{rendered_markdown rendered_description}} - -
-
-
- {{> subscription_type - stream_post_policy_values=../stream_post_policy_values - message_retention_text=../message_retention_text}} +
+ + {{rendered_markdown rendered_description}} +
- [{{t "Change" }}] +
+
+ {{> subscription_type + stream_post_policy_values=../stream_post_policy_values + message_retention_text=../message_retention_text}} +
+ [{{t "Change" }}] +
+ {{/with}}
- {{/with}} -
+
-