Files
zulip/web/templates/modal_banner/topic_already_exists_warning_banner.hbs
Joseph Ho 0750c210f7 topic-move: Add warning banner if moving messages to existing topic.
In the move topic modal, when the user would merge messages into an
existing conversation, then we display a warning banner in the modal.
This is similar to the confirmation modal that appears when a user
edits a topic via the message feed header.

We do not show the warning for the empty/general topic for realms
that do not require topics, even if there are messages in the
general topic.

Fixes #31151.

Co-authored-by: Yiming He <heyimingfrog@gmail.com>
Co-authored-by: Lauryn Menard <lauryn@zulip.com>
2025-03-04 11:19:58 -08:00

8 lines
226 B
Handlebars

{{#> modal_banner . }}
<p class="banner_message">
{{#tr}}
You are moving messages to a topic that already exists. Messages from these topics will be combined.
{{/tr}}
</p>
{{/modal_banner}}