mirror of
https://github.com/zulip/zulip.git
synced 2026-07-03 21:10:12 +08: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>
46 lines
2.2 KiB
Handlebars
46 lines
2.2 KiB
Handlebars
<div class="draft-row" data-draft-id="{{draft_id}}">
|
|
<div class="draft-info-box" tabindex="0">
|
|
{{#if is_stream}}
|
|
<div class="message_header message_header_stream">
|
|
<div class="message-header-contents">
|
|
<div class="message_label_clickable stream_label {{dark_background}}"
|
|
style="background: {{stream_color}}; border-left-color: {{stream_color}};">
|
|
{{stream_name}}
|
|
</div>
|
|
|
|
<span class="stream_topic">
|
|
<div class="message_label_clickable narrows_by_topic">
|
|
{{topic}}
|
|
</div>
|
|
</span>
|
|
<span class="recipient_bar_controls"></span>
|
|
<div class="recipient_row_date" title="{{t 'Last modified'}}">{{ time_stamp }}</div>
|
|
</div>
|
|
</div>
|
|
{{else}}
|
|
<div class="message_header message_header_private_message dark_background">
|
|
<div class="message-header-contents">
|
|
<div class="message_label_clickable stream_label">
|
|
{{#tr}}You and {recipients}{{/tr}}
|
|
</div>
|
|
<div class="recipient_row_date" title="{{t 'Last modified'}}">{{ time_stamp }}</div>
|
|
</div>
|
|
|
|
</div>
|
|
{{/if}}
|
|
<div class="message_row{{^is_stream}} private-message{{/is_stream}}" role="listitem">
|
|
<div class="messagebox">
|
|
<div class="messagebox-content">
|
|
<div class="message_top_line">
|
|
<div class="draft_controls">
|
|
<i class="fa fa-pencil fa-lg restore-draft tippy-zulip-tooltip" aria-hidden="true" data-tippy-content="{{t 'Restore draft' }} (Enter)"></i>
|
|
<i class="fa fa-trash-o fa-lg delete-draft tippy-zulip-tooltip" aria-hidden="true" data-tippy-content="{{t 'Delete draft' }} (Backspace)"></i>
|
|
</div>
|
|
</div>
|
|
<div class="message_content rendered_markdown restore-draft" title="{{t 'Restore draft' }}">{{rendered_markdown content}}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|