diff --git a/tools/lib/template_parser.py b/tools/lib/template_parser.py index c819cafa94..ae1f1cd059 100644 --- a/tools/lib/template_parser.py +++ b/tools/lib/template_parser.py @@ -153,7 +153,7 @@ def tokenize(text: str, template_format: str | None = None) -> list[Token]: kind = "handlebars_partial" elif looking_at_handlebars_partial_block(): s = get_handlebars_partial(text, state.i) - tag = s[5:-2] + tag = s[5:-2].split(None, 1)[0] kind = "handlebars_partial_block" elif looking_at_html_start(): s = get_html_tag(text, state.i) diff --git a/web/templates/bookend.hbs b/web/templates/bookend.hbs index 6c207f388e..425faa1d86 100644 --- a/web/templates/bookend.hbs +++ b/web/templates/bookend.hbs @@ -11,19 +11,19 @@ {{else if subscribed }} {{#tr}} You subscribed to . - {{#*inline "z-stream-name"}}{{> stream_privacy }} {{stream_name}}{{/inline}} + {{#*inline "z-stream-name"}}{{> stream_privacy . }} {{stream_name}}{{/inline}} {{#*inline "channel-settings-link"}} {{t 'Manage channel settings'}}{{/inline}} {{/tr}} {{else if just_unsubscribed }} {{#tr}} You unsubscribed from . - {{#*inline "z-stream-name"}}{{> stream_privacy }} {{stream_name}}{{/inline}} + {{#*inline "z-stream-name"}}{{> stream_privacy . }} {{stream_name}}{{/inline}} {{#*inline "channel-settings-link"}} {{t 'View in channel settings'}}{{/inline}} {{/tr}} {{else}} {{#tr}} You are not subscribed to . - {{#*inline "z-stream-name"}}{{> stream_privacy }} {{stream_name}}{{/inline}} + {{#*inline "z-stream-name"}}{{> stream_privacy . }} {{stream_name}}{{/inline}} {{/tr}} {{/if}} diff --git a/web/templates/change_visibility_policy_button_tooltip.hbs b/web/templates/change_visibility_policy_button_tooltip.hbs index 81c22d881b..a3fe19195a 100644 --- a/web/templates/change_visibility_policy_button_tooltip.hbs +++ b/web/templates/change_visibility_policy_button_tooltip.hbs @@ -5,7 +5,7 @@ {{#if should_render_privacy_icon}} {{#tr}} Notifications are based on your configuration for . - {{#*inline "z-stream-name"}}{{> stream_privacy }}{{name}}{{/inline}} + {{#*inline "z-stream-name"}}{{> stream_privacy . }}{{name}}{{/inline}} {{/tr}} {{else}} {{current_visibility_policy_str}} diff --git a/web/templates/compose.hbs b/web/templates/compose.hbs index 7784e369f9..92f4a2c094 100644 --- a/web/templates/compose.hbs +++ b/web/templates/compose.hbs @@ -102,7 +102,7 @@
- {{> compose_control_buttons }} + {{> compose_control_buttons . }}
diff --git a/web/templates/compose_banner/automatic_new_visibility_policy_banner.hbs b/web/templates/compose_banner/automatic_new_visibility_policy_banner.hbs index 236b5e30f0..16874463a9 100644 --- a/web/templates/compose_banner/automatic_new_visibility_policy_banner.hbs +++ b/web/templates/compose_banner/automatic_new_visibility_policy_banner.hbs @@ -1,4 +1,4 @@ -{{#> compose_banner }} +{{#> compose_banner . }} diff --git a/web/templates/compose_banner/not_subscribed_warning.hbs b/web/templates/compose_banner/not_subscribed_warning.hbs index 4f48b06cd1..e09dc2c229 100644 --- a/web/templates/compose_banner/not_subscribed_warning.hbs +++ b/web/templates/compose_banner/not_subscribed_warning.hbs @@ -1,4 +1,4 @@ -{{#> compose_banner }} +{{#> compose_banner . }} diff --git a/web/templates/compose_banner/stream_does_not_exist_error.hbs b/web/templates/compose_banner/stream_does_not_exist_error.hbs index 0a5052dd49..fe38fbe497 100644 --- a/web/templates/compose_banner/stream_does_not_exist_error.hbs +++ b/web/templates/compose_banner/stream_does_not_exist_error.hbs @@ -1,4 +1,4 @@ -{{#> compose_banner }} +{{#> compose_banner . }}
|
- {{> popovers/compose_control_buttons/compose_control_buttons_in_popover_2}} + {{> popovers/compose_control_buttons/compose_control_buttons_in_popover_2 .}}
|
- {{> popovers/compose_control_buttons/compose_control_buttons_in_popover}} + {{> popovers/compose_control_buttons/compose_control_buttons_in_popover .}}
diff --git a/web/templates/confirm_dialog/confirm_unstar_all_messages_in_topic.hbs b/web/templates/confirm_dialog/confirm_unstar_all_messages_in_topic.hbs index 5f982fa814..95ba738d20 100644 --- a/web/templates/confirm_dialog/confirm_unstar_all_messages_in_topic.hbs +++ b/web/templates/confirm_dialog/confirm_unstar_all_messages_in_topic.hbs @@ -1,6 +1,6 @@

{{#tr}} Are you sure you want to unstar all messages in ? This action cannot be undone. - {{#*inline "stream-topic"}}{{> ../stream_topic_widget}}{{/inline}} + {{#*inline "stream-topic"}}{{> ../stream_topic_widget .}}{{/inline}} {{/tr}}

diff --git a/web/templates/dialog_widget.hbs b/web/templates/dialog_widget.hbs index 7b80cd8ccd..7eb79e03f6 100644 --- a/web/templates/dialog_widget.hbs +++ b/web/templates/dialog_widget.hbs @@ -5,7 +5,7 @@

{{{ heading_text }}} {{#if link}} - {{> help_link_widget }} + {{> help_link_widget . }} {{/if}}

diff --git a/web/templates/draft.hbs b/web/templates/draft.hbs index 6939d99c72..e243e0dba1 100644 --- a/web/templates/draft.hbs +++ b/web/templates/draft.hbs @@ -5,7 +5,7 @@
- {{> stream_privacy}} + {{> stream_privacy .}} {{#if stream_name}} {{stream_name}} diff --git a/web/templates/draft_table_body.hbs b/web/templates/draft_table_body.hbs index 85c501ddd0..58910ccbbc 100644 --- a/web/templates/draft_table_body.hbs +++ b/web/templates/draft_table_body.hbs @@ -33,13 +33,13 @@

{{narrow_drafts_header}}

{{#each narrow_drafts}} - {{> draft}} + {{> draft .}} {{/each}}

{{t "Other drafts" }}

{{#each other_drafts}} - {{> draft}} + {{> draft .}} {{/each}}
diff --git a/web/templates/dropdown_widget_with_label.hbs b/web/templates/dropdown_widget_with_label.hbs index 8007822efc..f1371d492b 100644 --- a/web/templates/dropdown_widget_with_label.hbs +++ b/web/templates/dropdown_widget_with_label.hbs @@ -4,6 +4,6 @@
diff --git a/web/templates/dropdown_widget_wrapper.hbs b/web/templates/dropdown_widget_wrapper.hbs index a2f6fd6659..5b9bb26f4a 100644 --- a/web/templates/dropdown_widget_wrapper.hbs +++ b/web/templates/dropdown_widget_wrapper.hbs @@ -1,3 +1,3 @@
- {{> dropdown_widget disable_keyboard_focus="true"}} + {{> dropdown_widget . disable_keyboard_focus="true"}}
diff --git a/web/templates/inbox_view/inbox_list.hbs b/web/templates/inbox_view/inbox_list.hbs index cfe12253ba..fdd1994fb8 100644 --- a/web/templates/inbox_view/inbox_list.hbs +++ b/web/templates/inbox_view/inbox_list.hbs @@ -25,5 +25,5 @@
- {{> inbox_stream_container }} + {{> inbox_stream_container . }}
diff --git a/web/templates/inbox_view/inbox_row.hbs b/web/templates/inbox_view/inbox_row.hbs index 88d9afb474..6a9fb465ef 100644 --- a/web/templates/inbox_view/inbox_row.hbs +++ b/web/templates/inbox_view/inbox_row.hbs @@ -1,5 +1,5 @@ {{#if is_stream}} - {{> inbox_stream_header_row}} + {{> inbox_stream_header_row .}} {{else}}
diff --git a/web/templates/inbox_view/inbox_stream_header_row.hbs b/web/templates/inbox_view/inbox_stream_header_row.hbs index 779478298d..597daee3b1 100644 --- a/web/templates/inbox_view/inbox_stream_header_row.hbs +++ b/web/templates/inbox_view/inbox_stream_header_row.hbs @@ -6,7 +6,7 @@
- {{> ../stream_privacy }} + {{> ../stream_privacy . }} {{stream_name}} {{#if is_archived}} diff --git a/web/templates/inbox_view/inbox_view.hbs b/web/templates/inbox_view/inbox_view.hbs index cf4bb2d44d..f31431dbd5 100644 --- a/web/templates/inbox_view/inbox_view.hbs +++ b/web/templates/inbox_view/inbox_view.hbs @@ -12,6 +12,6 @@
{{> inbox_no_unreads}}
- {{> inbox_list}} + {{> inbox_list .}}
diff --git a/web/templates/message_body.hbs b/web/templates/message_body.hbs index 10d16b8ff8..b22442b429 100644 --- a/web/templates/message_body.hbs +++ b/web/templates/message_body.hbs @@ -1,5 +1,5 @@ {{#if include_sender}} - {{> message_avatar ~}} + {{> message_avatar . ~}} {{/if}} {{#if include_sender}} @@ -17,11 +17,11 @@ {{#if status_message}} {{rendered_markdown status_message}} {{#if message_edit_notices_for_status_message}} - {{> edited_notice}} + {{> edited_notice .}} {{/if}} {{/if}} {{#if message_edit_notices_alongside_sender}} - {{> edited_notice}} + {{> edited_notice .}} {{/if}} {{/if}} @@ -43,7 +43,7 @@ {{> message_controls_failed_msg}} {{/if}} {{else}} - {{> message_controls}} + {{> message_controls .}} {{/if}}
@@ -64,11 +64,11 @@ {{/unless}} {{#if message_edit_notices_in_left_col}} -{{> edited_notice}} +{{> edited_notice .}} {{/if}}
{{#if (and (not is_hidden) msg.message_reactions)}} - {{> message_reactions }} + {{> message_reactions . }} {{/if}} diff --git a/web/templates/message_edit_form.hbs b/web/templates/message_edit_form.hbs index da0333338d..06ed4cc385 100644 --- a/web/templates/message_edit_form.hbs +++ b/web/templates/message_edit_form.hbs @@ -19,7 +19,7 @@
{{#if is_editable}}
- {{> compose_control_buttons }} + {{> compose_control_buttons . }}
{{/if}}
diff --git a/web/templates/message_group.hbs b/web/templates/message_group.hbs index a29fd19ee8..ba049e8d21 100644 --- a/web/templates/message_group.hbs +++ b/web/templates/message_group.hbs @@ -3,14 +3,14 @@ {{#each message_groups}} {{#with this}} {{#if bookend_top}} - {{> bookend}} + {{> bookend .}} {{/if}}
- {{> recipient_row use_match_properties=../use_match_properties}} + {{> recipient_row . use_match_properties=../use_match_properties}} {{#each message_containers}} {{#with this}} - {{> single_message use_match_properties=../../use_match_properties message_list_id=../../message_list_id is_archived=../is_archived}} + {{> single_message . use_match_properties=../../use_match_properties message_list_id=../../message_list_id is_archived=../is_archived}} {{/with}} {{/each}}
diff --git a/web/templates/message_reactions.hbs b/web/templates/message_reactions.hbs index c1ab44c917..d72441f46b 100644 --- a/web/templates/message_reactions.hbs +++ b/web/templates/message_reactions.hbs @@ -1,6 +1,6 @@
{{#each this/msg/message_reactions}} - {{> message_reaction is_archived=../is_archived}} + {{> message_reaction . is_archived=../is_archived}} {{/each}} {{#unless is_archived}}
diff --git a/web/templates/message_view_header.hbs b/web/templates/message_view_header.hbs index 87ca8190a9..ae36f64541 100644 --- a/web/templates/message_view_header.hbs +++ b/web/templates/message_view_header.hbs @@ -1,7 +1,7 @@ {{#if stream_settings_link}} {{#unless stream.is_archived}} - {{> navbar_icon_and_title }} + {{> navbar_icon_and_title . }} {{else}} - {{> navbar_icon_and_title }} + {{> navbar_icon_and_title . }} {{/unless}} @@ -31,7 +31,7 @@ {{else}} - {{> navbar_icon_and_title }} + {{> navbar_icon_and_title . }} {{#if description}} {{description}} diff --git a/web/templates/modal_banner/invite_tips_banner.hbs b/web/templates/modal_banner/invite_tips_banner.hbs index 04fd0aa260..adeaf8801e 100644 --- a/web/templates/modal_banner/invite_tips_banner.hbs +++ b/web/templates/modal_banner/invite_tips_banner.hbs @@ -1,5 +1,5 @@ {{#unless realm_has_description}} - {{#> modal_banner }} + {{#> modal_banner . }} {{/modal_banner}} {{else unless realm_has_user_set_icon}} - {{#> modal_banner }} + {{#> modal_banner . }} diff --git a/web/templates/modal_banner/user_group_info_banner.hbs b/web/templates/modal_banner/user_group_info_banner.hbs index 417adc794c..ad11a24876 100644 --- a/web/templates/modal_banner/user_group_info_banner.hbs +++ b/web/templates/modal_banner/user_group_info_banner.hbs @@ -1,4 +1,4 @@ -{{#> modal_banner }} +{{#> modal_banner . }} diff --git a/web/templates/popovers/compose_control_buttons/compose_control_buttons_popover.hbs b/web/templates/popovers/compose_control_buttons/compose_control_buttons_popover.hbs index f289f6585e..7147b6a183 100644 --- a/web/templates/popovers/compose_control_buttons/compose_control_buttons_popover.hbs +++ b/web/templates/popovers/compose_control_buttons/compose_control_buttons_popover.hbs @@ -1,4 +1,4 @@
- {{> compose_control_buttons_in_popover_2}} - {{> compose_control_buttons_in_popover}} + {{> compose_control_buttons_in_popover_2 .}} + {{> compose_control_buttons_in_popover .}}
diff --git a/web/templates/presence_row.hbs b/web/templates/presence_row.hbs index 016885b804..d2bdf1ee8d 100644 --- a/web/templates/presence_row.hbs +++ b/web/templates/presence_row.hbs @@ -5,7 +5,7 @@
- {{> user_full_name}} + {{> user_full_name .}} {{> status_emoji status_emoji_info}}
{{status_text}} @@ -19,7 +19,7 @@
- {{> user_full_name}} + {{> user_full_name .}} {{> status_emoji status_emoji_info}}
{{status_text}} @@ -29,7 +29,7 @@
- {{> user_full_name}} + {{> user_full_name .}} {{> status_emoji status_emoji_info}}
diff --git a/web/templates/presence_rows.hbs b/web/templates/presence_rows.hbs index fab5961f29..899a2c31b0 100644 --- a/web/templates/presence_rows.hbs +++ b/web/templates/presence_rows.hbs @@ -1,3 +1,3 @@ {{#each presence_rows}} - {{> presence_row}} + {{> presence_row .}} {{/each}} diff --git a/web/templates/recent_view_row.hbs b/web/templates/recent_view_row.hbs index 2b2a2efce9..ed33e0fc82 100644 --- a/web/templates/recent_view_row.hbs +++ b/web/templates/recent_view_row.hbs @@ -7,7 +7,7 @@ {{t "Direct messages" }} {{else}} - {{> stream_privacy }} + {{> stream_privacy . }} {{stream_name}} {{/if}} diff --git a/web/templates/recent_view_table.hbs b/web/templates/recent_view_table.hbs index a78e2903b2..a77efd59e4 100644 --- a/web/templates/recent_view_table.hbs +++ b/web/templates/recent_view_table.hbs @@ -1,6 +1,6 @@
- {{> recent_view_filters}} + {{> recent_view_filters .}}
diff --git a/web/templates/recipient_row.hbs b/web/templates/recipient_row.hbs index eade9f3c76..3337ebbf60 100644 --- a/web/templates/recipient_row.hbs +++ b/web/templates/recipient_row.hbs @@ -6,7 +6,7 @@ href="{{stream_url}}" data-tippy-content="{{t 'Go to #{display_recipient}' }}"> - {{> stream_privacy}} + {{> stream_privacy .}} {{~! Recipient (e.g. stream/topic or topic) ~}} diff --git a/web/templates/scheduled_message.hbs b/web/templates/scheduled_message.hbs index ea77454335..e92224b0e8 100644 --- a/web/templates/scheduled_message.hbs +++ b/web/templates/scheduled_message.hbs @@ -6,7 +6,7 @@
- {{> stream_privacy}} + {{> stream_privacy .}} {{stream_name}}
@@ -17,7 +17,7 @@
- {{> scheduled_message_stream_pm_common}} + {{> scheduled_message_stream_pm_common .}}
{{else}} @@ -27,7 +27,7 @@ {{t "You and {recipients}" }}
- {{> scheduled_message_stream_pm_common}} + {{> scheduled_message_stream_pm_common .}}
{{/if}} diff --git a/web/templates/search_description.hbs b/web/templates/search_description.hbs index 81bdefeef9..967b285577 100644 --- a/web/templates/search_description.hbs +++ b/web/templates/search_description.hbs @@ -19,7 +19,7 @@ {{this.operator}} {{~#each this.users}} {{#if this.valid_user}} - {{> user_pill}} + {{> user_pill .}} {{else}} {{this.operand}} {{/if}} diff --git a/web/templates/send_later_modal.hbs b/web/templates/send_later_modal.hbs index ee50f1b49b..07e6690aa4 100644 --- a/web/templates/send_later_modal.hbs +++ b/web/templates/send_later_modal.hbs @@ -8,7 +8,7 @@
- {{> send_later_modal_options }} + {{> send_later_modal_options . }}
diff --git a/web/templates/set_status_overlay.hbs b/web/templates/set_status_overlay.hbs index d00edeed95..9b4ce1c5a7 100644 --- a/web/templates/set_status_overlay.hbs +++ b/web/templates/set_status_overlay.hbs @@ -1,7 +1,7 @@
- {{> status_emoji_selector}} + {{> status_emoji_selector .}}
diff --git a/web/templates/settings/admin_emoji_list.hbs b/web/templates/settings/admin_emoji_list.hbs index bf628d149e..4f25f4860f 100644 --- a/web/templates/settings/admin_emoji_list.hbs +++ b/web/templates/settings/admin_emoji_list.hbs @@ -13,7 +13,7 @@ {{#if author}} {{#with author}} - {{> ../user_display_only_pill display_value=full_name img_src=avatar_url}} + {{> ../user_display_only_pill . display_value=full_name img_src=avatar_url}} {{/with}} {{else}} {{t "Unknown author" }} diff --git a/web/templates/settings/admin_tab.hbs b/web/templates/settings/admin_tab.hbs index daf65b312a..6c24f298f7 100644 --- a/web/templates/settings/admin_tab.hbs +++ b/web/templates/settings/admin_tab.hbs @@ -3,28 +3,28 @@ {{> admin_settings_modals}} -{{> organization_profile_admin }} +{{> organization_profile_admin . }} -{{> organization_settings_admin }} +{{> organization_settings_admin . }} -{{> organization_permissions_admin }} +{{> organization_permissions_admin . }} -{{> organization_user_settings_defaults }} +{{> organization_user_settings_defaults . }} -{{> emoji_settings_admin }} +{{> emoji_settings_admin . }} -{{> user_list_admin }} +{{> user_list_admin . }} -{{> bot_list_admin }} +{{> bot_list_admin . }} -{{> default_streams_list_admin }} +{{> default_streams_list_admin . }} -{{> auth_methods_settings_admin }} +{{> auth_methods_settings_admin . }} -{{> linkifier_settings_admin }} +{{> linkifier_settings_admin . }} -{{> playground_settings_admin }} +{{> playground_settings_admin . }} -{{> profile_field_settings_admin }} +{{> profile_field_settings_admin . }} -{{> data_exports_admin }} +{{> data_exports_admin . }} diff --git a/web/templates/settings/edit_custom_profile_field_form.hbs b/web/templates/settings/edit_custom_profile_field_form.hbs index b67582154a..5a935e8034 100644 --- a/web/templates/settings/edit_custom_profile_field_form.hbs +++ b/web/templates/settings/edit_custom_profile_field_form.hbs @@ -14,7 +14,7 @@
{{#each choices}} - {{> profile_field_choice }} + {{> profile_field_choice . }} {{/each}}
diff --git a/web/templates/settings/organization_permissions_admin.hbs b/web/templates/settings/organization_permissions_admin.hbs index 8cc312528e..9943d13097 100644 --- a/web/templates/settings/organization_permissions_admin.hbs +++ b/web/templates/settings/organization_permissions_admin.hbs @@ -71,7 +71,7 @@ setting_name="realm_can_create_public_channel_group" label=(t 'Who can create public channels')}} - {{> upgrade_tip_widget }} + {{> upgrade_tip_widget . }} {{> settings_checkbox setting_name="realm_enable_spectator_access" prefix="id_" diff --git a/web/templates/settings/organization_profile_admin.hbs b/web/templates/settings/organization_profile_admin.hbs index 262985ab9d..fdd316dc9a 100644 --- a/web/templates/settings/organization_profile_admin.hbs +++ b/web/templates/settings/organization_profile_admin.hbs @@ -58,7 +58,7 @@

{{t "Organization logo" }} {{> ../help_link_widget link="/help/create-your-organization-profile#add-a-wide-logo" }}

- {{> upgrade_tip_widget }} + {{> upgrade_tip_widget . }}

{{t "A wide image (200×25 pixels) for the upper left corner of the app." }}

diff --git a/web/templates/settings/organization_settings_admin.hbs b/web/templates/settings/organization_settings_admin.hbs index 374fd8d7d1..d5d427585d 100644 --- a/web/templates/settings/organization_settings_admin.hbs +++ b/web/templates/settings/organization_settings_admin.hbs @@ -75,7 +75,7 @@ {{> settings_save_discard_widget section_name="message-retention" }}
- {{> upgrade_tip_widget }} + {{> upgrade_tip_widget . }}
diff --git a/web/templates/settings/organization_user_settings_defaults.hbs b/web/templates/settings/organization_user_settings_defaults.hbs index 2a903474bb..dbaf60a81f 100644 --- a/web/templates/settings/organization_user_settings_defaults.hbs +++ b/web/templates/settings/organization_user_settings_defaults.hbs @@ -6,9 +6,9 @@ {{#*inline "z-link"}}{{> @partial-block }}{{/inline}} {{/tr}}
- {{> preferences prefix="realm_" for_realm_settings=true full_name=full_name}} + {{> preferences . prefix="realm_" for_realm_settings=true full_name=full_name}} - {{> notification_settings prefix="realm_" for_realm_settings=true}} + {{> notification_settings . prefix="realm_" for_realm_settings=true}}
diff --git a/web/templates/settings/preferences.hbs b/web/templates/settings/preferences.hbs index ef26657f4b..efc6e1e88d 100644 --- a/web/templates/settings/preferences.hbs +++ b/web/templates/settings/preferences.hbs @@ -1,9 +1,9 @@
- {{>preferences_general}} + {{>preferences_general .}} - {{>preferences_emoji}} + {{>preferences_emoji .}} - {{>preferences_navigation}} + {{>preferences_navigation .}} - {{>preferences_information}} + {{>preferences_information .}}
diff --git a/web/templates/settings/user_list_admin.hbs b/web/templates/settings/user_list_admin.hbs index ca1f8e3244..c3b534e58d 100644 --- a/web/templates/settings/user_list_admin.hbs +++ b/web/templates/settings/user_list_admin.hbs @@ -2,10 +2,10 @@
- {{>active_user_list_admin}} + {{>active_user_list_admin .}} - {{>deactivated_users_admin}} + {{>deactivated_users_admin .}} - {{>invites_list_admin}} + {{>invites_list_admin .}}
diff --git a/web/templates/settings/user_notification_settings.hbs b/web/templates/settings/user_notification_settings.hbs index 32e71b029f..0625a23e67 100644 --- a/web/templates/settings/user_notification_settings.hbs +++ b/web/templates/settings/user_notification_settings.hbs @@ -1,3 +1,3 @@
- {{> notification_settings prefix="user_" for_realm_settings=false}} + {{> notification_settings . prefix="user_" for_realm_settings=false}}
diff --git a/web/templates/settings/user_preferences.hbs b/web/templates/settings/user_preferences.hbs index 579b40b4b6..7e6bbc03a8 100644 --- a/web/templates/settings/user_preferences.hbs +++ b/web/templates/settings/user_preferences.hbs @@ -1,3 +1,3 @@
- {{> preferences prefix="user_" for_realm_settings=false}} + {{> preferences . prefix="user_" for_realm_settings=false}}
diff --git a/web/templates/settings_tab.hbs b/web/templates/settings_tab.hbs index c0f637a532..2510bf2951 100644 --- a/web/templates/settings_tab.hbs +++ b/web/templates/settings_tab.hbs @@ -1,13 +1,13 @@
- {{> settings/profile_settings }} + {{> settings/profile_settings . }} - {{> settings/account_settings }} + {{> settings/account_settings . }} - {{> settings/user_preferences }} + {{> settings/user_preferences . }} - {{> settings/user_notification_settings }} + {{> settings/user_notification_settings . }} - {{> settings/bot_settings }} + {{> settings/bot_settings . }} {{> settings/alert_word_settings }} diff --git a/web/templates/single_message.hbs b/web/templates/single_message.hbs index 93a5a9aac7..4153d34ace 100644 --- a/web/templates/single_message.hbs +++ b/web/templates/single_message.hbs @@ -10,7 +10,7 @@
- {{> message_body}} + {{> message_body .}} {{!-- message_edit_form.hbs is inserted here when editing a message. --}}
diff --git a/web/templates/stream_settings/browse_streams_list.hbs b/web/templates/stream_settings/browse_streams_list.hbs index b9e30171e4..b26b93c7ea 100644 --- a/web/templates/stream_settings/browse_streams_list.hbs +++ b/web/templates/stream_settings/browse_streams_list.hbs @@ -1,3 +1,3 @@ {{#each subscriptions}} - {{> browse_streams_list_item }} + {{> browse_streams_list_item . }} {{/each}} diff --git a/web/templates/stream_settings/browse_streams_list_item.hbs b/web/templates/stream_settings/browse_streams_list_item.hbs index 8265cb3f7e..8bd34043c6 100644 --- a/web/templates/stream_settings/browse_streams_list_item.hbs +++ b/web/templates/stream_settings/browse_streams_list_item.hbs @@ -47,12 +47,12 @@
{{/if}} - {{> subscription_setting_icon }} + {{> subscription_setting_icon . }}
{{name}}
- {{> subscriber_count}} + {{> subscriber_count .}}
diff --git a/web/templates/stream_settings/new_stream_user.hbs b/web/templates/stream_settings/new_stream_user.hbs index 3ca12022ec..695104b3dc 100644 --- a/web/templates/stream_settings/new_stream_user.hbs +++ b/web/templates/stream_settings/new_stream_user.hbs @@ -1,6 +1,6 @@ - {{> ../user_display_only_pill display_value=full_name strikethrough=soft_removed is_active=true}} + {{> ../user_display_only_pill . display_value=full_name strikethrough=soft_removed is_active=true}} {{#if email}} {{email}} diff --git a/web/templates/stream_settings/stream_creation_form.hbs b/web/templates/stream_settings/stream_creation_form.hbs index 3e024c2cc0..eb003286ee 100644 --- a/web/templates/stream_settings/stream_creation_form.hbs +++ b/web/templates/stream_settings/stream_creation_form.hbs @@ -25,7 +25,7 @@
- {{> stream_types + {{> stream_types . stream_post_policy=stream_post_policy_values.everyone.code is_stream_edit=false can_remove_subscribers_setting_widget_name="new_stream_can_remove_subscribers_group" }} diff --git a/web/templates/stream_settings/stream_member_list_entry.hbs b/web/templates/stream_settings/stream_member_list_entry.hbs index bfff63963a..89215c52e8 100644 --- a/web/templates/stream_settings/stream_member_list_entry.hbs +++ b/web/templates/stream_settings/stream_member_list_entry.hbs @@ -1,6 +1,6 @@ - {{> ../user_display_only_pill display_value=name is_active=true}} + {{> ../user_display_only_pill . display_value=name is_active=true}} {{#if email}} {{email}} diff --git a/web/templates/stream_settings/stream_members.hbs b/web/templates/stream_settings/stream_members.hbs index 587654d4b6..8a999fb10a 100644 --- a/web/templates/stream_settings/stream_members.hbs +++ b/web/templates/stream_settings/stream_members.hbs @@ -5,7 +5,7 @@
- {{> add_subscribers_form}} + {{> add_subscribers_form .}}
@@ -17,7 +17,7 @@
- {{> stream_members_table}} + {{> stream_members_table .}}
{{/render_subscribers}} diff --git a/web/templates/stream_settings/stream_settings.hbs b/web/templates/stream_settings/stream_settings.hbs index 9888f9366e..d6b7b5b24f 100644 --- a/web/templates/stream_settings/stream_settings.hbs +++ b/web/templates/stream_settings/stream_settings.hbs @@ -36,7 +36,7 @@
{{#with sub}}
- {{> stream_settings_tip}} + {{> stream_settings_tip .}}
{{> stream_privacy_icon @@ -57,7 +57,7 @@ rendered_description=rendered_description }}
- {{> stream_types + {{> stream_types . stream_post_policy_values=../stream_post_policy_values stream_privacy_policy_values=../stream_privacy_policy_values stream_privacy_policy=../stream_privacy_policy @@ -79,7 +79,7 @@
{{#with sub}}
- {{> ../creator_details}} + {{> ../creator_details .}}
{{t "Channel ID"}}
@@ -154,7 +154,7 @@
{{#with sub}}
- {{> stream_members}} + {{> stream_members .}}
{{/with}}
diff --git a/web/templates/stream_settings/stream_settings_overlay.hbs b/web/templates/stream_settings/stream_settings_overlay.hbs index dd0a8da80a..ccbe9132de 100644 --- a/web/templates/stream_settings/stream_settings_overlay.hbs +++ b/web/templates/stream_settings/stream_settings_overlay.hbs @@ -76,7 +76,7 @@
{{!-- edit stream here --}}
- {{> stream_creation_form }} + {{> stream_creation_form . }}
diff --git a/web/templates/stream_settings/stream_types.hbs b/web/templates/stream_settings/stream_types.hbs index 8cab380d48..2e8b75c455 100644 --- a/web/templates/stream_settings/stream_types.hbs +++ b/web/templates/stream_settings/stream_types.hbs @@ -28,7 +28,7 @@ {{#if ask_to_announce_stream}}
- {{>announce_stream_checkbox }} + {{>announce_stream_checkbox . }}
{{/if}} @@ -78,7 +78,7 @@ {{> ../help_link_widget link="/help/message-retention-policy" }} - {{> ../settings/upgrade_tip_widget}} + {{> ../settings/upgrade_tip_widget .}}