move_topic_modal: Only include messages senders in warning banner.

Only participants who sent the messages being moved
should appear in the warning banner.
This commit is contained in:
bedo
2025-06-19 07:52:53 +03:00
committed by Tim Abbott
parent 26efeef3ee
commit 7eadabe10a
2 changed files with 55 additions and 13 deletions

View File

@@ -1,6 +1,13 @@
{{#> modal_banner . }}
<p class="banner_message">
{{#if few_unsubscribed_participants}}
{{#if (eq selected_propagate_mode "change_one")}}
{{#tr}}
Message sender <z-user-names></z-user-names> is not subscribed to &nbsp;<z-stream></z-stream>.
{{#*inline "z-user-names"}}({{{unsubscribed_participant_formatted_names_list}}}){{/inline}}
{{#*inline "z-stream"}}<strong>{{> ../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 &nbsp;<z-stream></z-stream>.
{{#*inline "z-user-names"}}({{{unsubscribed_participant_formatted_names_list}}}){{/inline}}