mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
settings: Add support for adding/removing custom profile fields.
Now that we have support for displaying custom profile fields, this adds administrator-level support for creating them. Tweaked by tabbott to fix a few small bugs and clean up the commit message. Fixes #1760.
This commit is contained in:
@@ -20,12 +20,15 @@ exports.show_or_hide_menu_item = function () {
|
||||
.find("input:not(.search), button, select").attr("disabled", true);
|
||||
$(".organization-box [data-name='filter-settings']")
|
||||
.find("input, button, select").attr("disabled", true);
|
||||
$(".organization-box [data-name='profile-field-settings']")
|
||||
.find("input, button, select").attr("disabled", true);
|
||||
$(".control-label-disabled").css("color", "#333333");
|
||||
}
|
||||
};
|
||||
|
||||
function _setup_page() {
|
||||
var options = {
|
||||
custom_profile_field_types: page_params.custom_profile_field_types,
|
||||
realm_name: page_params.realm_name,
|
||||
realm_description: page_params.realm_description,
|
||||
realm_restricted_to_domain: page_params.realm_restricted_to_domain,
|
||||
|
||||
Reference in New Issue
Block a user