mirror of
https://github.com/zulip/zulip.git
synced 2025-11-18 04:43:58 +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(
|
const participant_names = unsubscribed_participant_ids.map(
|
||||||
(user_id) => people.get_user_by_id_assert_valid(user_id).full_name,
|
(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(
|
util.format_array_as_list_with_highlighted_elements(
|
||||||
participant_names,
|
participant_names,
|
||||||
"long",
|
"long",
|
||||||
@@ -625,7 +625,7 @@ export async function build_move_topic_to_stream_popover(
|
|||||||
hide_close_button: true,
|
hide_close_button: true,
|
||||||
stream: destination_stream,
|
stream: destination_stream,
|
||||||
selected_propagate_mode,
|
selected_propagate_mode,
|
||||||
unsubscribed_participant_formatted_names_list,
|
unsubscribed_participant_formatted_names_list_html,
|
||||||
unsubscribed_participants_count,
|
unsubscribed_participants_count,
|
||||||
few_unsubscribed_participants,
|
few_unsubscribed_participants,
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -3,14 +3,14 @@
|
|||||||
{{#if (eq selected_propagate_mode "change_one")}}
|
{{#if (eq selected_propagate_mode "change_one")}}
|
||||||
{{#tr}}
|
{{#tr}}
|
||||||
Message sender <z-user-names></z-user-names> is not subscribed to <z-stream></z-stream>.
|
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}}
|
{{#*inline "z-stream"}}<strong class="highlighted-element">{{> ../inline_decorated_channel_name stream=stream show_colored_icon=true}}</strong>{{/inline}}
|
||||||
{{/tr}}
|
{{/tr}}
|
||||||
|
|
||||||
{{else if few_unsubscribed_participants}}
|
{{else if few_unsubscribed_participants}}
|
||||||
{{#tr}}
|
{{#tr}}
|
||||||
Some topic participants <z-user-names></z-user-names> are not subscribed to <z-stream></z-stream>.
|
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}}
|
{{#*inline "z-stream"}}<strong class="highlighted-element">{{> ../inline_decorated_channel_name stream=stream show_colored_icon=true}}</strong>{{/inline}}
|
||||||
{{/tr}}
|
{{/tr}}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user