settings: Add UI for realm-level defaults of display settings.

This commit adds a new module settings_defaults.js which calls
the functions in settings_display passing appropriate container
element and settings object as parameters.
We also add one more parameter for_realm_settings to some of the
functions in settings_dislay to differentiate between the user
and realm-level settings.
This commit is contained in:
Sahil Batra
2021-08-17 18:13:29 +05:30
committed by Tim Abbott
parent a440c93030
commit 96d6bf28db
8 changed files with 83 additions and 40 deletions

View File

@@ -142,6 +142,7 @@ EXEMPT_FILES = {
"static/js/settings_org.js",
"static/js/settings_panel_menu.js",
"static/js/settings_profile_fields.js",
"static/js/settings_realm_user_settings_defaults.js",
"static/js/settings_sections.js",
"static/js/settings_streams.js",
"static/js/settings_toggle.js",