mirror of
https://github.com/zulip/zulip.git
synced 2026-06-12 21:00:58 +08:00
This removes the left border extending the stream label from the recipient bar in from the drafts in drafts modal. Those borders are important in the message feed for containing several messages, but here we're only ever going to show individual drafts, and this change avoids potential color clashes with the blue box surrounding the recipient blocks.
45 lines
2.1 KiB
Handlebars
45 lines
2.1 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}}
|
|
</div>
|
|
|
|
<span class="stream_topic">
|
|
<div class="message_label_clickable narrows_by_topic">
|
|
{{topic}}
|
|
</div>
|
|
</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 this}}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" 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>
|
|
</div>
|
|
</div>
|
|
<div class="message_content restore-draft" data-toggle="tooltip" title="{{t 'Restore draft' }}">{{{content}}}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|