mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
move_message: Use _html naming convention for content rendered as HTML.
Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
This commit is contained in:
committed by
Tim Abbott
parent
8ca2ec4363
commit
03a2d9f644
@@ -603,7 +603,7 @@ export async function build_move_topic_to_stream_popover(
|
||||
const participant_names = unsubscribed_participant_ids.map(
|
||||
(user_id) => people.get_user_by_id_assert_valid(user_id).full_name,
|
||||
);
|
||||
const unsubscribed_participant_formatted_names_list =
|
||||
const unsubscribed_participant_formatted_names_list_html =
|
||||
util.format_array_as_list_with_highlighted_elements(
|
||||
participant_names,
|
||||
"long",
|
||||
@@ -625,7 +625,7 @@ export async function build_move_topic_to_stream_popover(
|
||||
hide_close_button: true,
|
||||
stream: destination_stream,
|
||||
selected_propagate_mode,
|
||||
unsubscribed_participant_formatted_names_list,
|
||||
unsubscribed_participant_formatted_names_list_html,
|
||||
unsubscribed_participants_count,
|
||||
few_unsubscribed_participants,
|
||||
};
|
||||
|
@@ -3,14 +3,14 @@
|
||||
{{#if (eq selected_propagate_mode "change_one")}}
|
||||
{{#tr}}
|
||||
Message sender <z-user-names></z-user-names> is not subscribed to <z-stream></z-stream>.
|
||||
{{#*inline "z-user-names"}}({{{unsubscribed_participant_formatted_names_list}}}){{/inline}}
|
||||
{{#*inline "z-user-names"}}({{{unsubscribed_participant_formatted_names_list_html}}}){{/inline}}
|
||||
{{#*inline "z-stream"}}<strong class="highlighted-element">{{> ../inline_decorated_channel_name stream=stream show_colored_icon=true}}</strong>{{/inline}}
|
||||
{{/tr}}
|
||||
|
||||
{{else if few_unsubscribed_participants}}
|
||||
{{#tr}}
|
||||
Some topic participants <z-user-names></z-user-names> are not subscribed to <z-stream></z-stream>.
|
||||
{{#*inline "z-user-names"}}({{{unsubscribed_participant_formatted_names_list}}}){{/inline}}
|
||||
{{#*inline "z-user-names"}}({{{unsubscribed_participant_formatted_names_list_html}}}){{/inline}}
|
||||
{{#*inline "z-stream"}}<strong class="highlighted-element">{{> ../inline_decorated_channel_name stream=stream show_colored_icon=true}}</strong>{{/inline}}
|
||||
{{/tr}}
|
||||
|
||||
|
Reference in New Issue
Block a user