mirror of https://github.com/zulip/zulip.git
19 lines
903 B
Handlebars
19 lines
903 B
Handlebars
{{! Client-side Mustache template for viewing message edit history.}}
|
|
|
|
{{#each edited_messages}}
|
|
{{#if show_date_row}}
|
|
<div class="date_row"><span>{{ display_date }}</span></div>
|
|
{{/if}}
|
|
<div class="messagebox-content">
|
|
<div class="message_top_line"><span class="message_time">{{ timestamp }}</span></div>
|
|
{{#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}}
|
|
<div class="message_content rendered_markdown message_edit_history_content">{{rendered_markdown body_to_render}}</div>
|
|
{{/if}}
|
|
<div class="message_author"><div class="author_details">{{ posted_or_edited }} {{ edited_by }}</div></div>
|
|
</div>
|
|
<hr/>
|
|
{{/each}}
|