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}};">
|
2020-10-24 21:24:21 +02:00
|
|
|
{{stream_name}}
|
2017-04-15 04:33:36 +02:00
|
|
|
</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>
|
2021-05-28 23:41:46 +02:00
|
|
|
<span class="recipient_bar_controls"></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">
|
2023-03-15 23:51:27 +01:00
|
|
|
{{t "You and {recipients}" }}
|
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-06-11 23:27:19 +02:00
|
|
|
<i class="fa fa-pencil fa-lg restore-draft tippy-zulip-tooltip" aria-hidden="true" data-tippy-content="{{t 'Restore draft' }} (Enter)"></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>
|