mirror of
https://github.com/zulip/zulip.git
synced 2025-10-22 20:42:14 +00:00
If users are only allowed to view move history, the header is 'Message move history.' If users are allowed to view edit and move history and the message is edited and moved, the header is 'Message edit and move history.' Otherwise, it shows 'Message edit history.' If the message is only moved (and not edited), it shows 'Message move history.' Fixes #34005.
31 lines
1.1 KiB
Handlebars
31 lines
1.1 KiB
Handlebars
<div id="message-history-overlay" class="overlay" data-overlay="message_edit_history">
|
|
<div class="flex overlay-content">
|
|
<div class="message-edit-history-container overlay-messages-container overlay-container">
|
|
<div class="overlay-messages-header">
|
|
{{#if move_history_only}}
|
|
<h1>{{t "Message move history" }}</h1>
|
|
{{else}}
|
|
{{#if edited}}
|
|
{{#if moved}}
|
|
<h1>{{t "Message edit and move history" }}</h1>
|
|
{{else}}
|
|
<h1>{{t "Message edit history" }}</h1>
|
|
{{/if}}
|
|
{{else if moved}}
|
|
<h1>{{t "Message move history" }}</h1>
|
|
{{/if}}
|
|
{{/if}}
|
|
<div class="exit">
|
|
<span class="exit-sign">×</span>
|
|
</div>
|
|
</div>
|
|
<div class="message-edit-history-list overlay-messages-list">
|
|
</div>
|
|
<div class="loading_indicator"></div>
|
|
<div id="message-history-error" class="alert">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|