2017-02-20 02:37:58 +01:00
|
|
|
{{! Client-side Mustache template for viewing message edit history.}}
|
|
|
|
|
|
|
|
{{#each edited_messages}}
|
2017-06-06 04:42:26 +02:00
|
|
|
{{#if show_date_row}}
|
|
|
|
<div class="date_row"><span>{{ display_date }}</span></div>
|
|
|
|
{{/if}}
|
2019-02-14 01:36:12 +01:00
|
|
|
<div class="messagebox-content">
|
|
|
|
<div class="message_top_line"><span class="message_time">{{ timestamp }}</span></div>
|
2019-02-22 15:08:16 +01:00
|
|
|
{{#if topic_edited}}
|
|
|
|
<div class="message_content message_edit_history_content"><p>Topic: <span class="highlight_text_inserted">{{ new_topic }}</span> <span class="highlight_text_deleted">{{ prev_topic }}</span></p></div>
|
|
|
|
{{/if}}
|
|
|
|
{{#if body_to_render}}
|
2020-02-28 23:59:07 +01:00
|
|
|
<div class="message_content rendered_markdown message_edit_history_content">{{rendered_markdown body_to_render}}</div>
|
2019-02-22 15:08:16 +01:00
|
|
|
{{/if}}
|
2019-02-14 01:36:12 +01:00
|
|
|
<div class="message_author"><div class="author_details">{{ posted_or_edited }} {{ edited_by }}</div></div>
|
2017-02-20 02:37:58 +01:00
|
|
|
</div>
|
2017-06-06 04:42:26 +02:00
|
|
|
<hr/>
|
2017-02-20 02:37:58 +01:00
|
|
|
{{/each}}
|