mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
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:
@@ -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 <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 <z-stream></z-stream>.
|
||||
{{#*inline "z-user-names"}}({{{unsubscribed_participant_formatted_names_list}}}){{/inline}}
|
||||
|
Reference in New Issue
Block a user