mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
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.
This commit is contained in:
committed by
Tim Abbott
parent
13bd8771f9
commit
939691dfed
@@ -1,6 +1,12 @@
|
||||
<div>
|
||||
{{#tr}}
|
||||
Message moved to <z-link>{stream_topic}</z-link>.
|
||||
{{#*inline "z-link"}}<a class="white-space-preserve-wrap" href="{{new_location_url}}">{{> @partial-block}}</a>{{/inline}}
|
||||
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}} > <span {{#if is_empty_string_topic}}class="empty-topic-display"{{/if}}>{{new_topic_display_name}}</span>
|
||||
{{~!-- squash whitespace --~}}
|
||||
</a>
|
||||
{{~/inline}}
|
||||
{{/tr}}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user