mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
Ever since we started bundling the app with webpack, there’s been less and less overlap between our ‘static’ directory (files belonging to the frontend app) and Django’s interpretation of the ‘static’ directory (files served directly to the web). Split the app out to its own ‘web’ directory outside of ‘static’, and remove all the custom collectstatic --ignore rules. This makes it much clearer what’s actually being served to the web, and what’s being bundled by webpack. It also shrinks the release tarball by 3%. Signed-off-by: Anders Kaseorg <anders@zulip.com>
22 lines
1.1 KiB
Handlebars
22 lines
1.1 KiB
Handlebars
{{! Client-side Handlebars 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 stream_changed}}
|
|
<div class="message_content message_edit_history_content"><p>Stream: <span class="highlight_text_inserted">{{ new_stream }}</span> <span class="highlight_text_deleted">{{ prev_stream }}</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">{{ edited_by_notice }}</div></div>
|
|
</div>
|
|
<hr />
|
|
{{/each}}
|