zulip/static/templates
Julia Bichler b871ffe712 stream settings: Always show stream settings.
We now show the stream permission settings - stream privacy,
stream post policy and stream message retentions setting,
always in the "General" section of stream settings instead
of showing it in the modal. The setting elements are
disabled for users who cannot change them.

Some important changes are -
- Add proper classes and IDs to the elements such that
code in settings_org.js can be used to set and change these
settings.
- Code in "settings_org.js" is updated to be able to set
stream message retention setting while rendering the page.
- Added enable_or_disable_permission_settings_in_edit_panel
function in stream_ui_updates.js (since that will also be
used in live updating code) to disable the setting elements
if required.
- We also update update_web_public_stream_privacy_option_state
function such that we can correctly enable/disable web-public
option in stream edit panel based on permissions.
- Added code for save-discard widget in stream_settings.hbs in
this commit but code to implement the correct behavior of it
will be added in further commits.

Fixes part of #19519.
2022-12-09 11:16:26 -08:00
..
compose_banner compose: Migrate compose_private_stream_alert to use compose_banner. 2022-12-06 15:43:34 -08:00
confirm_dialog help center: Clean up "Deactivate or reactivate a user" help page. 2022-11-10 12:00:25 -08:00
navbar_alerts navbar_alerts: Add alerts for demo org deadlines. 2021-09-10 16:31:54 -07:00
settings settings: Remove unused CSS and corresponding organization-submission class. 2022-12-09 11:16:26 -08:00
stream_settings stream settings: Always show stream settings. 2022-12-09 11:16:26 -08:00
user_group_settings user groups: Implement edit features in user group settings overlay. 2022-09-07 12:09:28 -07:00
widgets widgets: Fix line wrapping of todo descriptions. 2022-03-21 17:52:45 -07:00
about_zulip.hbs about_zulip: Mark strings for translation. 2021-06-18 18:13:00 -07:00
actions_popover_content.hbs popovers: Drop text for historical messages from three-dot menu. 2022-10-26 13:20:37 -07:00
actions_popover_template.hbs actions_popover: Only wrap content to next line on small width. 2022-10-06 16:58:33 -07:00
all_messages_sidebar_actions.hbs
announce_stream_docs.hbs stream_settings: Modify the message of the "Announce stream" hint tooltip. 2022-06-28 13:19:54 -07:00
blueslip_stacktrace.hbs templates: Always indent "each" blocks. 2021-12-06 14:58:29 -08:00
bookend.hbs recent-topics: Update hash for view to be "#recent". 2022-10-25 11:03:44 -07:00
buddy_list_tooltip_content.hbs
change_email_modal.hbs change_email: Migrate modal to dialog_widget. 2022-01-21 16:12:34 -08:00
compose.hbs compose: Migrate compose_private_stream_alert to use compose_banner. 2022-12-06 15:43:34 -08:00
compose_control_buttons.hbs compose: Add keyboard shortcut tooltip to Drafts link.. 2022-06-28 13:25:54 -07:00
compose_control_buttons_in_popover.hbs compose: Change icon of formatting popover to a question. 2022-02-18 11:16:19 -08:00
compose_control_buttons_popover.hbs compose: Move overflowing buttons to a popover. 2021-12-02 15:11:15 -08:00
compose_notification.hbs notification: Fix "narrow to..." link present above composebox. 2021-08-07 09:51:04 -07:00
compose_select_enter_behaviour_popover.hbs compose: Fix Enter to send switch internationalization. 2022-01-07 14:38:10 -08:00
copy_code_button.hbs copy_code_button: Attach tooltip to body to avoid overlap with parent. 2021-10-01 10:04:17 -07:00
copy_invite_link.hbs
copy_message_button.hbs
copy_to_clipboard_svg.hbs
default_language_modal.hbs default_language_modal: Add more space around languages displayed. 2022-07-12 17:23:15 -07:00
dialog_change_password.hbs change_password: Migrate modal to dialog_widget. 2021-11-23 15:41:54 -08:00
dialog_widget.hbs modals: Don't close the modals on selecting something inside the modal. 2022-11-14 09:08:39 -08:00
draft.hbs drafts: Add hotkey hint to restore draft. 2021-11-10 12:54:53 -08:00
draft_table_body.hbs drafts: Create a section to show drafts from the current conversation. 2022-08-25 23:12:31 -07:00
drafts_sidebar_action.hbs popovers: Add sidebar menu to delete all drafts. 2021-11-22 17:01:47 -08:00
edit_content_button.hbs hotkey: Use "m" hotkey for moving messages. 2022-10-19 12:02:22 -07:00
edited_notice.hbs templates: Simplify nested Handlebars conditionals using {{else if}}. 2022-06-30 11:24:44 -07:00
embedded_bot_config_item.hbs
emoji_popover.hbs
emoji_popover_content.hbs templates: Always indent "each" blocks. 2021-12-06 14:58:29 -08:00
emoji_popover_emoji.hbs templates: Simplify nested Handlebars conditionals using {{else if}}. 2022-06-30 11:24:44 -07:00
emoji_popover_search_results.hbs templates: Always indent "each" blocks. 2021-12-06 14:58:29 -08:00
emoji_showcase.hbs
empty_feed_notice.hbs narrow_banner: Move empty narrow messages to handlebar templates. 2021-12-07 13:38:48 -08:00
favicon.svg.hbs
feedback_container.hbs
filter_topics.hbs topic_list: Move topic filter out of topics list `ul`. 2022-11-04 13:40:46 -07:00
gear_menu.hbs gear_menu: Delete unused Bootstrap tabs code. 2022-11-22 13:55:21 -08:00
giphy_picker.hbs images: Move Giphy images into proper subdirectories. 2022-08-30 22:40:59 -07:00
giphy_picker_mobile.hbs
help_link_widget.hbs modals: Refactor help_link_widget for confirmation modal. 2022-03-25 10:43:37 -07:00
hotspot_icon.hbs
hotspot_overlay.hbs
input_pill.hbs input_pill: Remove random IDs. 2022-07-11 11:44:47 -07:00
invitation_failed_error.hbs help: Rewrite pages on inviting users and related permissions. 2022-03-28 17:00:10 -07:00
invite_subscription.hbs settings: Fix references to new user and stream announcements. 2022-07-28 09:33:09 -07:00
invite_user.hbs settings: Rename dependent-block class to dependent-settings-block. 2022-11-22 17:14:35 -08:00
keyboard_shortcuts.hbs popovers: Rename "profile summary" to "user card". 2022-11-14 12:15:54 -08:00
left_sidebar.hbs left_sidebar: Add login link to left sidebar for logged-out users. 2022-11-29 16:35:36 -08:00
left_sidebar_stream_setting_popover.hbs popover_menus: Keep element click handlers self-contained. 2022-12-06 09:58:40 -08:00
lightbox_overlay.hbs lightbox: Remove Pan/Zoom enable button. 2022-03-03 13:48:32 -08:00
loader.hbs
login_to_access.hbs modals: Don't close the modals on selecting something inside the modal. 2022-11-14 09:08:39 -08:00
login_to_view_image_button.hbs message_list_view: For spectators, show login button for failed images. 2022-03-24 10:50:00 -07:00
mark_as_read_turned_off_banner.hbs mark as read: Fix button styling for medium-sized screens. 2022-07-12 16:28:34 -07:00
markdown_help.hbs templates: Always indent "each" blocks. 2021-12-06 14:58:29 -08:00
markdown_time_tooltip.hbs markdown: Change timezone to time zone in <time> tooltip. 2021-07-08 10:10:11 -04:00
markdown_timestamp.hbs
me_message.hbs popovers: Rename "profile summary" to "user card". 2022-11-14 12:15:54 -08:00
message_avatar.hbs message_body: Fix -3px alignment kludge using whitespace control. 2021-06-23 09:10:50 -07:00
message_body.hbs popovers: Rename "profile summary" to "user card". 2022-11-14 12:15:54 -08:00
message_controls.hbs message controls: Use login_to_access modal for reactions/stars. 2022-04-29 16:35:49 -07:00
message_edit_form.hbs message_edit: Allow only content edit in message_edit_form. 2022-10-12 10:50:05 -07:00
message_edit_history.hbs message_edit: Fix internationalization of edited notices. 2022-02-01 14:09:19 -08:00
message_feed_bottom_whitespace.hbs bottom_whitespace: Extract to a dedicated handlebars template. 2022-08-03 16:14:42 -07:00
message_feed_errors.hbs narrow_banner: Simplify empty narrow messages for spectators. 2022-04-29 16:35:49 -07:00
message_group.hbs message_list_view: Cleanup unused bookend code. 2022-01-31 16:50:54 -08:00
message_hidden_dialog.hbs
message_history_modal.hbs message_edit_history: Migrate modal to dialog_widget. 2021-11-08 17:24:31 -08:00
message_inline_image_tooltip.hbs messages: Show tippy tooltip for inline images. 2022-03-21 15:36:10 -07:00
message_reaction.hbs reactions: Implement display_emoji_reaction_users setting. 2022-10-27 12:41:51 -07:00
message_reactions.hbs message controls: Use login_to_access modal for reactions/stars. 2022-04-29 16:35:49 -07:00
message_view_header.hbs message_view_header: Add divider after stream name for spectator. 2022-05-02 10:05:33 -07:00
mobile_message_buttons_popover_content.hbs
more_pms.hbs pm_section: Create collapsible private messages section. 2022-10-26 13:47:08 -07:00
more_topics.hbs unread: Indicate which topics have unread @-mentions. 2022-08-29 12:49:08 -07:00
more_topics_spinner.hbs images: Move error/loading images into subdirectories. 2022-08-30 22:40:59 -07:00
move_topic_to_stream.hbs stream_popover: Disable topic or stream input in move message modal. 2022-10-12 10:50:05 -07:00
muted_topic_ui_row.hbs settings: Clean up muted_topics/users rendering logic. 2022-02-25 17:33:11 -08:00
muted_user_ui_row.hbs settings: Clean up muted_topics/users rendering logic. 2022-02-25 17:33:11 -08:00
narrow_to_compose_recipients_tooltip.hbs compose: Make compose box tooltips consitent. 2022-06-28 13:24:13 -07:00
navbar.hbs css: Remove bootstrap form-search CSS. 2022-11-22 13:55:21 -08:00
navbar_icon_and_title.hbs icons: Replace fa-globe icon with a custom globe icon. 2022-03-01 11:36:38 -08:00
no_arrow_popover.hbs
non_editable_user_group.hbs
playground_links_popover_content.hbs templates: Always indent "each" blocks. 2021-12-06 14:58:29 -08:00
pm_list_item.hbs pm_section: Create collapsible private messages section. 2022-10-26 13:47:08 -07:00
presence_row.hbs right_sidebar: Fix full name overflowing its container. 2022-10-18 22:13:04 -07:00
presence_rows.hbs presence: Rename hbs templates to not have the word "user". 2022-07-13 14:34:44 -07:00
read_receipts.hbs read_receipts: Add support for displaying read receipts. 2022-08-12 13:16:35 -07:00
read_receipts_modal.hbs modals: Don't close the modals on selecting something inside the modal. 2022-11-14 09:08:39 -08:00
recent_topic_row.hbs Revert "recent: Remove participant avatars from PM rows." 2022-11-29 11:29:12 -08:00
recent_topics_filters.hbs recent_topics: Add Private message to recent_topics. 2022-10-17 15:02:01 -07:00
recent_topics_table.hbs recent topics: Disable browser autocomplete filter widget. 2022-03-09 13:56:14 -08:00
recipient_row.hbs icons: Change mute icon from bell to speaker. 2022-09-09 17:32:19 -07:00
remind_me_popover_content.hbs js: Add tabindex attribute for anchor tag to allow focus. 2022-02-14 15:23:46 -08:00
right_sidebar.hbs navbar: Add login and signup buttons for spectators. 2022-10-21 10:10:40 -07:00
search_list_item.hbs search_suggestions: Fix bug where space in stream names did not show. 2022-08-18 11:22:08 -07:00
search_operators.hbs help-menu: Update tip at the bottom of search operators tab. 2022-11-01 08:40:33 -07:00
set_status_overlay.hbs templates: Simplify nested Handlebars conditionals using {{else if}}. 2022-06-30 11:24:44 -07:00
settings_overlay.hbs settings: Hide deactivated users panel by default for members. 2022-11-23 11:46:16 -08:00
settings_tab.hbs settings: Create user_notification_settings.hbs template. 2021-08-20 07:50:51 -07:00
single_message.hbs messagebox: Add classnames to mark which messages contain which mentions. 2022-09-09 17:05:26 -07:00
starred_messages_sidebar_actions.hbs
status_emoji.hbs status_emoji: Extract status emoji template. 2022-02-08 16:52:49 -08:00
status_emoji_selector.hbs templates: Simplify nested Handlebars conditionals using {{else if}}. 2022-06-30 11:24:44 -07:00
stream_privacy.hbs icons: Replace fa-globe icon with a custom globe icon. 2022-03-01 11:36:38 -08:00
stream_sidebar_actions.hbs icons: Change mute icon from bell to speaker. 2022-09-09 17:32:19 -07:00
stream_sidebar_row.hbs unread: Indicate which streams have unread @-mentions. 2022-08-29 12:49:08 -07:00
stream_topic_widget.hbs
streams_subheader.hbs stream_list: Sort muted to end of sections and add labels. 2022-08-06 21:59:23 -07:00
subscribe_to_more_streams.hbs stream_list: Fix another “subscribed” typo. 2022-09-15 16:55:15 -07:00
topic_edit_form.hbs message-edit: Add maxlength attribute for editing topic names. 2022-07-15 15:16:55 -07:00
topic_list_item.hbs unread: Indicate which topics have unread @-mentions. 2022-08-29 12:49:08 -07:00
topic_muted.hbs
topic_sidebar_actions.hbs icons: Change mute icon from bell to speaker. 2022-09-09 17:32:19 -07:00
typeahead_list_item.hbs templates: Simplify nested Handlebars conditionals using {{else if}}. 2022-06-30 11:24:44 -07:00
typing_notification.hbs
typing_notifications.hbs templates: Always indent "each" blocks. 2021-12-06 14:58:29 -08:00
user_group_info_popover.hbs
user_group_info_popover_content.hbs templates: Always indent "each" blocks. 2021-12-06 14:58:29 -08:00
user_group_list_item.hbs popovers: Add tabs for profile, groups and streams in user_info modal. 2021-06-11 07:56:32 -07:00
user_info_popover_content.hbs popovers: Rename "full profile" to "profile". 2022-11-14 12:16:22 -08:00
user_info_popover_manage_menu.hbs popovers: Redesign user info popover. 2022-10-07 15:52:23 -07:00
user_info_popover_title.hbs
user_profile_modal.hbs modals: Don't close the modals on selecting something inside the modal. 2022-11-14 09:08:39 -08:00
user_stream_list_item.hbs profile: Add tooltip to hint unsubscription flow for private stream. 2021-06-30 15:17:27 -07:00
user_with_status_icon.hbs recent_topics: Show user status emoji in PMs messages. 2022-11-10 12:32:08 -08:00
view_code_in_playground.hbs view_code_in_playground: Fix tooltip being partially hidden. 2022-09-19 14:11:53 -07:00