zulip/static/templates/settings
sahil839 c6e553427a settings: Hide invite users link in settings overlay based on settings.
There was a bug where invite users link is shown in the Invitations
section of settings overlay, irrespective if the user is allowed to
invite or not based on the realm settings. So here we just use the
'can_invite_others_to_realm' field of page_params, that was added in
previous commit itself to hide the link accordingly.

Also added the code in server_events_dispatch.js for this field.
Though it doesn't do live update when the overlay is opened similar
to other policies like create_stream_policy, but it ensures that the
visibility of link is correct if the overlay is opened after the
settings has changed.

We should probably do the complete live update in future of the
elements related to such realm settings.
2021-04-07 09:05:16 -07:00
..
account_settings.hbs users: Show correct role of owners in the 'Your account' page. 2021-03-29 17:37:31 -07:00
admin_auth_methods_list.hbs realm: Allow only owners to configure auth methods for a realm. 2020-06-14 21:23:51 -07:00
admin_realm_domains_list.hbs templates: Rename *.handlebars ↦ *.hbs and - ↦ _. 2019-07-12 21:11:03 -07:00
alert_word_settings_item.hbs settings: Use HTML table for "Alert Words" for better icon alignment. 2021-03-05 14:38:56 -08:00
alert_word_settings.hbs settings: Use HTML table for "Alert Words" for better icon alignment. 2021-03-05 14:38:56 -08:00
api_key_modal.hbs CVE-2020-14194: Use noopener/noreferrer for external links. 2020-06-16 23:35:39 -07:00
attachments_settings.hbs list_render: Remove data-list-render markup. 2020-04-15 15:13:26 -07:00
auth_methods_settings_admin.hbs realm: Allow only owners to configure auth methods for a realm. 2020-06-14 21:23:51 -07:00
bot_list_admin.hbs user settings: Fix email sort for bots/deactivateds. 2020-05-11 16:14:04 -07:00
bot_settings.hbs CVE-2020-14194: Use noopener/noreferrer for external links. 2020-06-16 23:35:39 -07:00
custom_user_profile_field.hbs custom profile fields: Rename "CHOICE" to "SELECT" in frontend. 2021-03-26 11:49:11 -07:00
data_exports_admin.hbs CVE-2020-14194: Use noopener/noreferrer for external links. 2020-06-16 23:35:39 -07:00
deactivate_realm_modal.hbs templates: Rename *.handlebars ↦ *.hbs and - ↦ _. 2019-07-12 21:11:03 -07:00
deactivated_users_admin.hbs templates: Extract help link widget. 2020-05-24 16:32:36 -07:00
deactivation_stream_modal.hbs streams: Adjust confirmation message for stream deactivation. 2021-04-02 22:09:48 -07:00
deactivation_user_modal.hbs templates: Rename *.handlebars ↦ *.hbs and - ↦ _. 2019-07-12 21:11:03 -07:00
default_streams_list_admin.hbs list_render: Remove data-list-render markup. 2020-04-15 15:13:26 -07:00
dev_env_email_access.hbs templates: Rename *.handlebars ↦ *.hbs and - ↦ _. 2019-07-12 21:11:03 -07:00
display_settings.hbs display_settings: Allow user to set default_view. 2021-03-11 18:09:08 -08:00
dropdown_list_widget.hbs dropdown_list_widget: Properly handle reset button text. 2021-03-31 17:57:56 -07:00
dropdown_list.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 emoji-settings: Hide the text above admin-emoji-form when form is hidden. 2020-06-28 14:11:27 -07:00
emoji_settings_tip.hbs templates: Rename *.handlebars ↦ *.hbs and - ↦ _. 2019-07-12 21:11:03 -07:00
image_upload_widget.hbs upload widget: Rename image upload widget upload text CSS class. 2020-07-21 16:19:21 -07:00
invites_list_admin.hbs settings: Hide invite users link in settings overlay based on settings. 2021-04-07 09:05:16 -07:00
linkifier_settings_admin.hbs linkifier settings: Fix empty list message not shown. 2021-03-15 11:19:59 -07:00
muted_topics_settings.hbs settings: Fix message not shown in empty muted topics list. 2021-02-05 11:17:46 -08:00
notification_settings_checkboxes.hbs org settings: Use standard "types" in .get_input_element_value(). 2020-05-08 14:04:21 -07:00
notification_settings.hbs templates: Fix missing quoting of attributes in HTML templates. 2020-06-16 23:35:39 -07:00
organization_permissions_admin.hbs settings: Remove extra dropdown for wildcard mention setting. 2020-11-20 12:05:13 -08:00
organization_profile_admin.hbs realm logo: Add title for realm day/night logo. 2020-06-23 14:24:56 -07:00
organization_settings_admin.hbs retention: Add link to message-retention-policy docs next to the heading. 2020-06-26 14:43:47 -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_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 templates: Extract help link widget. 2020-05-24 16:32:36 -07:00
settings_save_discard_widget.hbs settings: Don't use css classes starting with icon. 2020-09-01 10:56:02 -07:00
stream_specific_notification_row.hbs notification_settings: Display streams that differ. 2020-03-31 15:57:47 -07:00
upgrade_tip_widget.hbs CVE-2020-14194: Use noopener/noreferrer for external links. 2020-06-16 23:35:39 -07:00
upload_space_stats.hbs CVE-2020-14194: Use noopener/noreferrer for external links. 2020-06-16 23:35:39 -07:00
user_list_admin.hbs admin users: Fix email sort. 2020-04-15 15:13:26 -07:00