mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +00:00
templates: Wrap subscription settings into 3 respective sections.
We wrap the general stream name, description and type properties in a "general_settings" div. The "regular_subscription_settings" div was already present, so the only change made was renaming this to "personal_settings". We also wrap the email and adding of members settings in a new "subscriber_settings" div. This is a prep commit which will be helpful when we want to display only one section and hide the other two. Co-authored-by: Ryan Rehman <ryanrehman99@gmail.com>
This commit is contained in:
committed by
Tim Abbott
parent
9cb8e1b286
commit
c0afe9d8f4
@@ -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("");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user