zulip/static/templates/settings
Pragati Agrawal 4df971c3c2 org settings: Add save/discard widget for realm authentication methods.
Along with this, we refactored settings_org.populate_auth_methods to use
HTML function after rendering all auth methods rows rather than appending
each row individually, which actually is a good practice.

Also in this commit, to compare `current_val` and `changed_val` in
`check_property_changed` function of the property
`realm_authentication_methods`, which are objects, and we found here
https://stackoverflow.com/a/1144249 that there is no easy way to do so. So
I followed this approach,

```js
 JSON.stringify(obj1) === JSON.stringify(obj2)
```

but before converting them to string we want the same order of keys, so we
used `sort_object_by_key` to sort `current_val` by keys and
`get_auth_method_table_data` always return `changed_val` having keys
sorted.

Since these refactor were closely related we kept them as a single commit
here.

Fixes: #11954.
2019-05-20 15:42:15 -07:00
..
account-settings.handlebars settings: NAME_CHANGES_DISABLED disables the name change button. 2019-05-03 12:58:51 -07:00
admin-realm-domains-list.handlebars linter: Make html singleton tags use 2 space indentation. 2018-04-07 20:08:31 -07:00
admin-realm-dropdown-stream-list.handlebars linter: Enforce 2 space indents on tags spread over multiple lines. 2018-04-07 20:08:44 -07:00
admin_auth_methods_list.handlebars org settings: Add save/discard widget for realm authentication methods. 2019-05-20 15:42:15 -07:00
alert-word-settings.handlebars lint: Require translation tags on aria-label tags. 2017-07-14 14:48:17 -07:00
attachments-settings.handlebars ui: Replace set_up_scrollbar with data-simplebar attribute. 2019-05-19 18:06:38 -07:00
auth-methods-settings-admin.handlebars org settings: Add save/discard widget for realm authentication methods. 2019-05-20 15:42:15 -07:00
bot-list-admin.handlebars ui: Replace set_up_scrollbar with data-simplebar attribute. 2019-05-19 18:06:38 -07:00
bot-settings.handlebars css: Remove `display-none` class css entirely. 2019-05-08 09:41:48 -07:00
custom-user-profile-field.handlebars custom profile fields: Pass value as part of a dictionary. 2019-01-01 21:05:28 -08:00
deactivate-realm-modal.handlebars org settings: Add button to deactivate organization. 2018-02-18 10:20:38 -08:00
deactivated-users-admin.handlebars ui: Replace set_up_scrollbar with data-simplebar attribute. 2019-05-19 18:06:38 -07:00
deactivation-stream-modal.handlebars deactivation-stream-modal: Make stream name a template variable. 2018-03-04 19:26:50 -08:00
deactivation-user-modal.handlebars settings_users: Refactor some code for deactivate button. 2019-03-20 22:34:57 -07:00
default-streams-list-admin.handlebars ui: Replace set_up_scrollbar with data-simplebar attribute. 2019-05-19 18:06:38 -07:00
dev_env_email_access.handlebars frontend: Seperate out info on accessing emails to template. 2017-10-04 08:20:29 -07:00
display-settings.handlebars settings: Add option for fixed/fluid width. 2019-05-09 13:57:57 -07:00
edit-embedded-bot-service.handlebars linter: Make html singleton tags use 2 space indentation. 2018-04-07 20:08:31 -07:00
edit-outgoing-webhook-service.handlebars edit bot: Fix UI element shows incorrect interface for outgoing webhook. 2018-05-21 10:07:18 -07:00
emoji-settings-admin.handlebars css: Remove `display-none` class css entirely. 2019-05-08 09:41:48 -07:00
emoji-settings-tip.handlebars settings: Update tip strings for adding custom emoji. 2019-01-30 10:34:16 -08:00
invites-list-admin.handlebars settings: Use standard error handling in settings/invites. 2019-01-15 14:52:31 -08:00
linkifier-settings-admin.handlebars org settings: Rename linkification regular expression field to pattern. 2018-12-17 12:58:52 -08:00
muted-topics-settings.handlebars settings: Fix spelled of muted topics message. 2017-05-12 12:38:29 -07:00
notification-settings.handlebars digest: Fix visibility toggling of digest notifications checkbox. 2019-05-10 09:08:02 -07:00
organization-permissions-admin.handlebars settings: Rename `create_stream_permission` in templates. 2019-05-06 16:30:01 -07:00
organization-profile-admin.handlebars org settings: Update organization logo section. 2019-05-17 11:48:17 -07:00
organization-settings-admin.handlebars ui: Replace set_up_scrollbar with data-simplebar attribute. 2019-05-19 18:06:38 -07:00
organization-settings-tip.handlebars org settings: Add generalised function for tip-box for org settings. 2019-04-26 17:54:58 -07:00
profile-field-choice.handlebars custom profile field: Remove add-btn of choices. 2018-08-14 10:17:57 -07:00
profile-field-settings-admin.handlebars zerver/lib/events.py: Add FIELD_TYPE_CHOICES_DICT to page_params. 2018-08-21 11:37:51 -07:00
realm-domains-modal.handlebars org-settings: Fix styling of Allowed Domains modal. 2018-02-16 16:00:21 -08:00
resend-invite-modal.handlebars dark-mode: Make all modals compatible with night mode. 2018-02-09 14:21:13 -08:00
revoke-invite-modal.handlebars invites: Add UI for revoking multiuse invites. 2019-02-15 14:13:31 -08:00
settings-save-discard-widget.handlebars org settings: Improve error handling status elements. 2018-06-06 09:00:35 -07:00
settings_checkbox.handlebars org_settings: Refactor `get_subsection_property_elements` function. 2019-04-26 17:52:19 -07:00
upload-space-stats.handlebars uploads: Show used upload space in attachments UI. 2019-03-07 20:18:00 -08:00
user-list-admin.handlebars ui: Replace set_up_scrollbar with data-simplebar attribute. 2019-05-19 18:06:38 -07:00