mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 00:46:03 +00:00
org settings: Add framework for User groups page.
This commit is contained in:
@@ -32,6 +32,9 @@ exports.load_admin_section = function (name) {
|
||||
case 'invites-list-admin':
|
||||
section = 'invites';
|
||||
break;
|
||||
case 'user-groups-admin':
|
||||
section = 'user-groups';
|
||||
break;
|
||||
default:
|
||||
blueslip.error('Unknown admin id ' + name);
|
||||
return;
|
||||
@@ -62,6 +65,9 @@ exports.load_admin_section = function (name) {
|
||||
case 'invites':
|
||||
settings_invites.set_up();
|
||||
break;
|
||||
case 'user-groups':
|
||||
settings_user_groups.set_up();
|
||||
break;
|
||||
default:
|
||||
blueslip.error('programming error for section ' + section);
|
||||
return;
|
||||
@@ -78,6 +84,7 @@ exports.reset_sections = function () {
|
||||
settings_streams.reset();
|
||||
settings_filters.reset();
|
||||
settings_invites.reset();
|
||||
settings_user_groups.reset();
|
||||
};
|
||||
|
||||
return exports;
|
||||
|
||||
Reference in New Issue
Block a user