Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
message-edit-history: Show channel change before topic change.
Lauryn Menarde6d71cad1f62
diff --git a/web/templates/message_edit_history.hbs b/web/templates/message_edit_history.hbsindex dd83732b57f..9ee94e3cc4e 100644--- a/web/templates/message_edit_history.hbs+++ b/web/templates/message_edit_history.hbs@@ -27,18 +27,18 @@<div class="message_row{{#unless is_stream}} private-message{{/unless}}" role="listitem"><div class="messagebox"><div class="messagebox-content">- {{#if topic_edited}}+ {{#if stream_changed}}<div class="message_content message_edit_history_content">- <p>{{t "Topic" }}:- <span class="highlight_text_inserted {{#if is_empty_string_new_topic}}empty-topic-display{{/if}}">{{ new_topic_display_name }}</span>- <span class="highlight_text_deleted {{#if is_empty_string_prev_topic}}empty-topic-display{{/if}}">{{ prev_topic_display_name }}</span>+ <p>{{t "Channel" }}: <span class="highlight_text_inserted">{{ new_stream }}</span>+ <span class="highlight_text_deleted">{{ prev_stream }}</span></p></div>{{/if}}- {{#if stream_changed}}+ {{#if topic_edited}}<div class="message_content message_edit_history_content">- <p>{{t "Channel" }}: <span class="highlight_text_inserted">{{ new_stream }}</span>- <span class="highlight_text_deleted">{{ prev_stream }}</span>+ <p>{{t "Topic" }}:+ <span class="highlight_text_inserted {{#if is_empty_string_new_topic}}empty-topic-display{{/if}}">{{ new_topic_display_name }}</span>+ <span class="highlight_text_deleted {{#if is_empty_string_prev_topic}}empty-topic-display{{/if}}">{{ prev_topic_display_name }}</span></p></div>{{/if}}