2017-02-22 02:34:05 +01:00
|
|
|
<div class="draft-row" data-draft-id="{{draft_id}}">
|
2017-04-15 04:33:36 +02:00
|
|
|
<div class="draft-info-box" tabindex="0">
|
|
|
|
{{#if is_stream}}
|
|
|
|
<div class="message_header message_header_stream">
|
|
|
|
<div class="message-header-contents">
|
2019-02-14 16:47:27 +01:00
|
|
|
<div class="message_label_clickable stream_label {{dark_background}}"
|
2018-04-05 08:38:46 +02:00
|
|
|
style="background: {{stream_color}}; border-left-color: {{stream_color}};">
|
2017-04-15 04:33:36 +02:00
|
|
|
{{stream}}
|
|
|
|
</div>
|
2017-02-22 02:34:05 +01:00
|
|
|
|
2017-04-15 04:33:36 +02:00
|
|
|
<span class="stream_topic">
|
2018-11-13 16:07:10 +01:00
|
|
|
<div class="message_label_clickable narrows_by_topic">
|
2017-04-15 04:33:36 +02:00
|
|
|
{{topic}}
|
|
|
|
</div>
|
|
|
|
</span>
|
2017-12-25 21:43:06 +01:00
|
|
|
<div class="recipient_row_date" title="{{t 'Last modified'}}">{{ time_stamp }}</div>
|
2017-04-15 04:33:36 +02:00
|
|
|
</div>
|
2017-02-22 02:34:05 +01:00
|
|
|
</div>
|
2017-04-15 04:33:36 +02:00
|
|
|
{{else}}
|
|
|
|
<div class="message_header message_header_private_message dark_background">
|
|
|
|
<div class="message-header-contents">
|
|
|
|
<div class="message_label_clickable stream_label">
|
2021-04-14 03:04:02 +02:00
|
|
|
{{#tr}}You and {recipients}{{/tr}}
|
2017-04-15 04:33:36 +02:00
|
|
|
</div>
|
2017-12-25 21:43:06 +01:00
|
|
|
<div class="recipient_row_date" title="{{t 'Last modified'}}">{{ time_stamp }}</div>
|
2017-04-15 04:33:36 +02:00
|
|
|
</div>
|
2017-12-25 21:43:06 +01:00
|
|
|
|
2017-04-15 04:33:36 +02:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
2018-11-10 18:27:16 +01:00
|
|
|
<div class="message_row{{^is_stream}} private-message{{/is_stream}}" role="listitem">
|
2019-02-14 17:42:26 +01:00
|
|
|
<div class="messagebox">
|
2017-04-15 04:33:36 +02:00
|
|
|
<div class="messagebox-content">
|
|
|
|
<div class="message_top_line">
|
|
|
|
<div class="draft_controls">
|
2021-04-13 07:03:00 +02:00
|
|
|
<i class="fa fa-pencil fa-lg restore-draft tippy-zulip-tooltip" aria-hidden="true" data-tippy-content="{{t 'Restore draft' }}"></i>
|
2021-02-25 04:47:52 +01:00
|
|
|
<i class="fa fa-trash-o fa-lg delete-draft tippy-zulip-tooltip" aria-hidden="true" data-tippy-content="{{t 'Delete draft' }} (Backspace)"></i>
|
2017-04-15 04:33:36 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2021-02-25 04:47:52 +01:00
|
|
|
<div class="message_content rendered_markdown restore-draft" title="{{t 'Restore draft' }}">{{rendered_markdown content}}</div>
|
2017-04-15 04:33:36 +02:00
|
|
|
</div>
|
2017-02-22 02:34:05 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|