mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 08:26:11 +00:00
org-settings: Add UI for changing the notifications stream.
Added a dropdown in the organization settings page with a search-box and required styles. Also added an element to disable it. Added a method to populate the dropdown using list_rendering.js. Also altered response to the event of deletion of the notifications stream on the frontend. On selection of a new stream or on clicking 'Disable', a patch request is made with stream-id to /json/realm. Fixes: #3708.
This commit is contained in:
@@ -45,6 +45,7 @@ function _setup_page() {
|
||||
language_list: page_params.language_list,
|
||||
realm_default_language: page_params.realm_default_language,
|
||||
realm_waiting_period_threshold: page_params.realm_waiting_period_threshold,
|
||||
realm_notifications_stream_id: page_params.realm_notifications_stream_id,
|
||||
is_admin: page_params.is_admin,
|
||||
realm_icon_source: page_params.realm_icon_source,
|
||||
realm_icon_url: page_params.realm_icon_url,
|
||||
|
||||
Reference in New Issue
Block a user