Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
compose_banner: Use decorated channel icon in topic moved banner in compose box.
sandeep97cb550918c0
diff --git a/web/src/compose_validate.ts b/web/src/compose_validate.tsindex 8c90a1e6d12..a1e84792193 100644--- a/web/src/compose_validate.ts+++ b/web/src/compose_validate.ts@@ -598,7 +598,7 @@ export function inform_if_topic_is_moved(topic_name,narrow_url,orig_topic,- old_stream: old_stream.name,+ old_stream,classname: compose_banner.CLASSNAMES.topic_is_moved,show_colored_icon: false,is_empty_string_topic,diff --git a/web/templates/compose_banner/topic_moved_banner.hbs b/web/templates/compose_banner/topic_moved_banner.hbsindex 08926e1876f..0ac4c39b64a 100644--- a/web/templates/compose_banner/topic_moved_banner.hbs+++ b/web/templates/compose_banner/topic_moved_banner.hbs@@ -4,7 +4,7 @@The topic you were composing to (<z-link></z-link>) was moved, and the destination for your message has been updated to its new location.{{#*inline "z-link"~}}<a class="above_compose_banner_action_link" href="{{narrow_url}}">- {{~> ../inline_topic_link_label channel_name=old_stream topic_display_name=orig_topic is_empty_string_topic=is_empty_string_topic~}}+ {{~> ../inline_topic_link_label stream=old_stream topic_display_name=orig_topic is_empty_string_topic=is_empty_string_topic~}}</a>{{~/inline}}{{/tr}}diff --git a/web/templates/inline_topic_link_label.hbs b/web/templates/inline_topic_link_label.hbsindex 8deabf611f4..c36272b75dc 100644--- a/web/templates/inline_topic_link_label.hbs+++ b/web/templates/inline_topic_link_label.hbs@@ -1,13 +1,13 @@{{#if is_empty_string_topic}}<span class="stream-topic">{{~!-- squash whitespace --~}}- #{{channel_name}} > <em class="empty-topic-display">{{t "general chat"}}</em>+ {{> decorated_channel_name stream=stream inline_with_text=true show_colored_icon=false}} > <em class="empty-topic-display">{{t "general chat"}}</em>{{~!-- squash whitespace --~}}</span>{{~else}}<span class="stream-topic">{{~!-- squash whitespace --~}}- #{{channel_name}} > {{topic_display_name}}+ {{> decorated_channel_name stream=stream inline_with_text=true show_colored_icon=false}} > {{topic_display_name}}{{~!-- squash whitespace --~}}</span>{{~/if}}