mirror of https://github.com/zulip/zulip.git
Rename page_params.stream_list to page_params.subbed_info.
This matches page_params.unsubbed_info, plus it sets up to add something like page_params.stream_dict without being confusing. (imported from commit 2d40deb779e5c7a488d6952560b4119094bbc0d8)
This commit is contained in:
parent
ee0f569c59
commit
b82ed52e7b
|
@ -618,11 +618,11 @@ function inline_emails_into_subscriber_list(subs, email_dict) {
|
|||
$(function () {
|
||||
var i;
|
||||
|
||||
inline_emails_into_subscriber_list(page_params.stream_list, page_params.email_dict);
|
||||
inline_emails_into_subscriber_list(page_params.subbed_info, page_params.email_dict);
|
||||
inline_emails_into_subscriber_list(page_params.unsubbed_info, page_params.email_dict);
|
||||
|
||||
// Populate stream_info with data handed over to client-side template.
|
||||
populate_subscriptions(page_params.stream_list, true);
|
||||
populate_subscriptions(page_params.subbed_info, true);
|
||||
populate_subscriptions(page_params.unsubbed_info, false);
|
||||
|
||||
$("#subscriptions_table").on("submit", "#add_new_subscription", function (e) {
|
||||
|
|
|
@ -832,7 +832,7 @@ def home(request):
|
|||
login_page = settings.HOME_NOT_LOGGED_IN,
|
||||
password_auth_enabled = password_auth_enabled(),
|
||||
have_initial_messages = user_has_messages,
|
||||
stream_list = register_ret['subscriptions'],
|
||||
subbed_info = register_ret['subscriptions'],
|
||||
unsubbed_info = register_ret['unsubscribed'],
|
||||
email_dict = register_ret['email_dict'],
|
||||
people_list = register_ret['realm_users'],
|
||||
|
|
Loading…
Reference in New Issue