mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
Use both the last_moved_timestamp and last_edit_timestamp to show edited and moved indicators/tooltips in the message list view of the web app, instead of parsing the message edit history array. We still maintain and build the message edit history array as it's used for calculating the narrow terms when there is a near operator and a message has been moved to a different channel or topic. Updates the tooltip for message edit indicators to include both the moved and edited time if a message has been both moved and edited.
17 lines
400 B
Handlebars
17 lines
400 B
Handlebars
<div class="edit-notifications"></div>
|
|
{{#if modified}}
|
|
{{#if msg/local_edit_timestamp}}
|
|
<div class="message_edit_notice">
|
|
{{t "SAVING"}}
|
|
</div>
|
|
{{else if edited}}
|
|
<div class="message_edit_notice">
|
|
{{t "EDITED"}}
|
|
</div>
|
|
{{else}}
|
|
<div class="message_edit_notice">
|
|
{{t "MOVED"}}
|
|
</div>
|
|
{{/if}}
|
|
{{/if}}
|