zulip/static/templates/settings
Rohitt Vashishtha cb85763c78 settings: Extract DropdownListWidget from default_code_language_widget.
We extract a general purpose widget to create dropdown lists with
search. This widget is used for default code block language, but can
be easily extended to cover notifications_stream and similar options.
The current usage is:

```js
const widget = DropdownListWidget({
    setting_name: 'realm_alpha_beta',
    data: [{name: 'hello', value: 'world'}, {...}, ...],
    subsection: 'msg-editing',
    default_text: 'Nothing is selected',
});
```

and

```handlebars
{{> dropdown_list_widget
  setting_name="realm_alpha_beta"
  list_placeholder=(t 'Filter the data')
  reset_button_text=(t '[Unset]')
  label=admin_settings_label.realm_alpha_beta }}
```

This can further be refined by shifting more variables from handlebars
to javascript in the future.
2020-04-14 12:50:10 -07:00
..
account_settings.hbs account_settings: Refactor avatar settings hbs. 2019-09-30 11:10:56 -07:00
admin_auth_methods_list.hbs templates: Rename *.handlebars ↦ *.hbs and - ↦ _. 2019-07-12 21:11:03 -07:00
admin_realm_domains_list.hbs templates: Rename *.handlebars ↦ *.hbs and - ↦ _. 2019-07-12 21:11:03 -07:00
admin_realm_dropdown_stream_list.hbs templates: Rename *.handlebars ↦ *.hbs and - ↦ _. 2019-07-12 21:11:03 -07:00
alert_word_settings.hbs templates: Rename *.handlebars ↦ *.hbs and - ↦ _. 2019-07-12 21:11:03 -07:00
api_key_modal.hbs settings: Move API key form into its own modal. 2019-08-14 10:50:45 -07:00
attachments_settings.hbs settings: Extract sort helpers for various lists. 2020-04-12 14:59:32 -07:00
auth_methods_settings_admin.hbs templates: Use upstream Handlebars partials syntax. 2019-07-12 21:11:14 -07:00
bot_list_admin.hbs org settings: Reduce the width occupied by the actions column in tables. 2019-08-22 13:13:24 -07:00
bot_settings.hbs settings: Change username to `bot email` in bot settings HTML. 2019-09-23 15:55:25 -07:00
custom_user_profile_field.hbs user settings: Add separate alert-save widget for profile custom fields. 2019-07-25 13:33:44 -07:00
data_exports_admin.hbs data export: Fix sort feature regression. 2019-08-28 15:23:39 -07:00
deactivate_realm_modal.hbs templates: Rename *.handlebars ↦ *.hbs and - ↦ _. 2019-07-12 21:11:03 -07:00
deactivated_users_admin.hbs org settings: Reduce the width occupied by the actions column in tables. 2019-08-22 13:13:24 -07:00
deactivation_stream_modal.hbs templates: Rename *.handlebars ↦ *.hbs and - ↦ _. 2019-07-12 21:11:03 -07:00
deactivation_user_modal.hbs templates: Rename *.handlebars ↦ *.hbs and - ↦ _. 2019-07-12 21:11:03 -07:00
default_streams_list_admin.hbs refactor: Group header and body under table for .progressive-table-wrapper. 2019-08-22 13:13:24 -07:00
dev_env_email_access.hbs templates: Rename *.handlebars ↦ *.hbs and - ↦ _. 2019-07-12 21:11:03 -07:00
display_settings.hbs settings_org: Extract the "options" code as template. 2020-01-31 12:42:26 +05:30
dropdown_list.hbs settings: Extract DropdownListWidget from default_code_language_widget. 2020-04-14 12:50:10 -07:00
dropdown_list_widget.hbs settings: Extract DropdownListWidget from default_code_language_widget. 2020-04-14 12:50:10 -07:00
dropdown_options_widget.hbs settings_org: Extract the "options" code as template. 2020-01-31 12:42:26 +05:30
edit_embedded_bot_service.hbs templates: Rename *.handlebars ↦ *.hbs and - ↦ _. 2019-07-12 21:11:03 -07:00
edit_outgoing_webhook_service.hbs templates: Rename *.handlebars ↦ *.hbs and - ↦ _. 2019-07-12 21:11:03 -07:00
emoji_settings_admin.hbs settings: Add preview while uploading custom emoji. 2020-04-08 14:42:46 -07:00
emoji_settings_tip.hbs templates: Rename *.handlebars ↦ *.hbs and - ↦ _. 2019-07-12 21:11:03 -07:00
invites_list_admin.hbs invite settings: Fix sorting with multi-user links. 2020-04-12 14:59:32 -07:00
linkifier_settings_admin.hbs refactor: Group header and body under table for .progressive-table-wrapper. 2019-08-22 13:13:24 -07:00
muted_topics_settings.hbs templates: Rename *.handlebars ↦ *.hbs and - ↦ _. 2019-07-12 21:11:03 -07:00
notification_settings.hbs notification_settings: Display streams that differ. 2020-03-31 15:57:47 -07:00
notification_settings_checkboxes.hbs notification_settings: Display streams that differ. 2020-03-31 15:57:47 -07:00
notifications_stream_settings_widget.hbs org settings: Use save/discard widget for notification stream settings. 2020-01-14 17:16:23 -08:00
organization_permissions_admin.hbs settings: Reorganize options/sections in `Organization Permissions`. 2020-03-24 10:36:40 -07:00
organization_profile_admin.hbs settings ui: Hide btns to modify organization profile pic for nonadmins. 2020-04-06 15:36:02 -07:00
organization_settings_admin.hbs settings: Extract DropdownListWidget from default_code_language_widget. 2020-04-14 12:50:10 -07:00
organization_settings_tip.hbs templates: Rename *.handlebars ↦ *.hbs and - ↦ _. 2019-07-12 21:11:03 -07:00
profile_field_choice.hbs templates: Rename *.handlebars ↦ *.hbs and - ↦ _. 2019-07-12 21:11:03 -07:00
profile_field_settings_admin.hbs custom profile fields: Add placeholder for custom URL. 2019-08-28 15:43:35 -07:00
realm-logo-widget.hbs settings ui: Hide buttons to add/delete organization logo for nonadmins. 2020-04-06 15:36:02 -07:00
realm_domains_modal.hbs templates: Rename *.handlebars ↦ *.hbs and - ↦ _. 2019-07-12 21:11:03 -07:00
resend_invite_modal.hbs templates: Rename *.handlebars ↦ *.hbs and - ↦ _. 2019-07-12 21:11:03 -07:00
revoke_invite_modal.hbs templates: Rename *.handlebars ↦ *.hbs and - ↦ _. 2019-07-12 21:11:03 -07:00
settings_checkbox.hbs org settings: Minor changes to link icons and documentation. 2020-04-03 11:41:18 -07:00
settings_save_discard_widget.hbs settings page: Align permission "Discard" option. 2019-10-07 11:58:24 -07:00
stream_specific_notification_row.hbs notification_settings: Display streams that differ. 2020-03-31 15:57:47 -07:00
upload_space_stats.hbs templates: Rename *.handlebars ↦ *.hbs and - ↦ _. 2019-07-12 21:11:03 -07:00
user_list_admin.hbs org settings: Reduce the width occupied by the actions column in tables. 2019-08-22 13:13:24 -07:00