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">
|
|
|
|
<div class="message_label_clickable stream_label"
|
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">
|
|
|
|
{{#tr this}}You and __recipients__{{/tr}}
|
|
|
|
</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">
|
2017-04-15 04:33:36 +02:00
|
|
|
<div class="messagebox"
|
2018-04-05 08:38:46 +02:00
|
|
|
style="box-shadow: inset 2px 0px 0px 0px {{#if is_stream}}{{stream_color}}{{else}}#444444{{/if}}, -1px 0px 0px 0px {{#if is_stream}}{{stream_color}}{{else}}#444444{{/if}};">
|
2017-04-15 04:33:36 +02:00
|
|
|
<div class="messagebox-content">
|
|
|
|
<div class="message_top_line">
|
|
|
|
<div class="draft_controls">
|
2018-07-04 01:07:32 +02:00
|
|
|
<i class="fa fa-pencil fa-lg restore-draft" aria-hidden="true" data-toggle="tooltip" title="{{t 'Restore draft' }}"></i>
|
|
|
|
<i class="fa fa-trash-o fa-lg delete-draft" aria-hidden="true" data-toggle="tooltip" title="{{t 'Delete draft' }} (Backspace)"></i>
|
2017-04-15 04:33:36 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-04-18 22:44:31 +02:00
|
|
|
<div class="message_content restore-draft" data-toggle="tooltip" title="{{t 'Restore draft' }}">{{{content}}}</div>
|
2017-04-15 04:33:36 +02:00
|
|
|
</div>
|
2017-02-22 02:34:05 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|