2014-03-14 16:28:54 +01:00
|
|
|
<div zid="{{msg/id}}" id="{{table_name}}{{msg/id}}"
|
2014-04-30 21:11:15 +02:00
|
|
|
class="message_row{{^msg/is_stream}} private-message{{/msg/is_stream}}{{#include_sender}} include-sender{{/include_sender}}{{#contains_mention}} mention{{/contains_mention}}{{#include_footer}} last_message{{/include_footer}}{{#msg.unread}} unread{{/msg.unread}} {{#if msg.local_id}}local{{/if}} selectable_row">
|
2014-02-11 16:14:29 +01:00
|
|
|
<div class="unread_marker"><div class="unread-marker-fill"></div></div>
|
2014-03-14 16:28:54 +01:00
|
|
|
<div class="messagebox{{^include_sender}} prev_is_same_sender{{/include_sender}}{{^msg/is_stream}} private-message{{/msg/is_stream}} {{#if next_is_same_sender}}next_is_same_sender{{/if}}"
|
|
|
|
style="box-shadow: inset 2px 0px 0px 0px {{#if msg/is_stream}}{{background_color}}{{else}}#444444{{/if}}, -1px 0px 0px 0px {{#if msg/is_stream}}{{background_color}}{{else}}#444444{{/if}};">
|
2014-02-11 16:14:29 +01:00
|
|
|
<div class="messagebox-border">
|
|
|
|
<div class="messagebox-content">
|
|
|
|
<div class="message_top_line">
|
|
|
|
{{#include_sender}}
|
|
|
|
<span class="message_sender{{^status_message}} sender_info_hover{{/status_message}}">
|
|
|
|
{{! See ../js/notifications.js for another user of avatar_url. }}
|
|
|
|
<div class="inline_profile_picture{{#status_message}} sender_info_hover{{/status_message}}"
|
2014-06-10 22:34:36 +02:00
|
|
|
style="background-image: url('{{small_avatar_url}}');"/><span class="{{^status_message}}sender_name{{/status_message}}{{#status_message}}sender-status{{/status_message}}">{{#unless status_message}}{{msg/sender_full_name}}{{else}}<span class="sender_name{{#status_message}}-in-status{{/status_message}} sender_info_hover">{{msg/sender_full_name}}</span>{{{ status_message }}}{{/unless}}</span>
|
2014-02-11 16:14:29 +01:00
|
|
|
</span>
|
|
|
|
{{/include_sender}}
|
2014-04-30 21:11:15 +02:00
|
|
|
<span class="message_time{{#if msg.local_id}} notvisible{{/if}}{{#if status_message}} status-time{{/if}}">{{timestr}}</span>
|
2014-02-11 16:14:29 +01:00
|
|
|
{{#if_and last_edit_timestr include_sender}}
|
|
|
|
<div class="message_edit_notice" title="Edited ({{last_edit_timestr}})">EDITED</div>
|
|
|
|
{{/if_and}}
|
2014-06-10 22:34:36 +02:00
|
|
|
<div class="message_controls{{#status_message}} sender-status-controls{{/status_message}}">
|
2014-02-11 16:14:29 +01:00
|
|
|
<div class="star">
|
2014-03-14 16:28:54 +01:00
|
|
|
<span class="message_star {{#if msg/starred}}icon-vector-star{{else}}icon-vector-star-empty empty-star{{/if}}"
|
|
|
|
title="{{#if msg/starred}}Unstar{{else}}Star{{/if}} this message"></span>
|
2014-02-11 16:14:29 +01:00
|
|
|
</div>
|
|
|
|
<div class="info actions_hover">
|
|
|
|
<i class="icon-vector-chevron-down"></i>
|
|
|
|
</div>
|
2014-04-30 21:11:15 +02:00
|
|
|
<div class="message_failed {{#unless msg.failed_request}}notvisible{{/unless}}">
|
2014-02-11 16:14:29 +01:00
|
|
|
<span class="failed_text">Not delivered </span><i class="icon-vector-refresh refresh-failed-message"></i><i class="icon-vector-pencil edit-failed-message"></i><i class="icon-vector-remove-sign remove-failed-message"></i>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-03-18 23:24:23 +01:00
|
|
|
<div class="message_content">{{#unless status_message}}{{#if use_match_properties}}{{{msg/match_content}}}{{else}}{{{msg/content}}}{{/if}}{{/unless}}</div>
|
2014-02-11 16:14:29 +01:00
|
|
|
{{#if last_edit_timestr}}
|
|
|
|
{{#unless include_sender}}
|
|
|
|
<div class="message_edit_notice" title="Edited ({{last_edit_timestr}})">EDITED</div>
|
|
|
|
{{/unless}}
|
|
|
|
{{/if}}
|
|
|
|
<div class="message_edit">
|
2014-03-14 16:28:54 +01:00
|
|
|
<div class="message_edit_form" id="{{msg/id}}"></div>
|
2014-02-11 16:14:29 +01:00
|
|
|
</div>
|
|
|
|
<div class="message_expander message_length_controller" title="See the rest of this message">[More...]</div>
|
|
|
|
<div class="message_condenser message_length_controller" title="Make this message take up less space on the screen">[Condense this message]</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-03-08 08:59:38 +01:00
|
|
|
</div>
|