Files
zulip/web/templates/message_moved_widget_body.hbs
Saubhagya Patel 939691dfed message_move: Show "general chat" in link of confirmation toast.
When a message is moved using the "Move only this message" option
a confirmation toast is shown. This commit adds support to show
"general chat" in link of the toast when a message is moved to it.
2025-03-27 09:27:49 -07:00

13 lines
468 B
Handlebars

<div>
{{#tr}}
Message moved to <z-link></z-link>.
{{#*inline "z-link"~}}
<a class="white-space-preserve-wrap" href="{{new_location_url}}">
{{~!-- squash whitespace --~}}
#{{new_stream_name}} &gt; <span {{#if is_empty_string_topic}}class="empty-topic-display"{{/if}}>{{new_topic_display_name}}</span>
{{~!-- squash whitespace --~}}
</a>
{{~/inline}}
{{/tr}}
</div>