2014-03-14 16:28:54 +01:00
<div zid=" {{ msg / id }} " id=" {{ table_name }} {{ msg / id }} "
2018-11-08 18:00:49 +01:00
class="message_row {{ ^ msg / is_stream }} private-message {{ / msg / is_stream }} {{ # in clude_sender }} include-sender {{ / in clude_sender }} {{ # contains_mention }} mention {{ / contains_mention }} {{ # in clude_footer }} last_message {{ / in clude_footer }} {{ # msg .unread }} unread {{ / msg .unread }} {{ # if msg .locally_echoed }} local {{ / if }} selectable_row"
2018-11-10 18:27:16 +01:00
role="listitem">
2017-04-15 04:36:58 +02:00
<div class="unread_marker"><div class="unread-marker-fill"></div></div>
<div class="messagebox {{ ^ in clude_sender }} prev_is_same_sender {{ / in clude_sender }} {{ ^ msg / is_stream }} private-message {{ / msg / is_stream }} {{ # if next_is_same_sender }} next_is_same_sender {{ / if }} "
2018-04-05 08:38:46 +02:00
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 }} ;">
2017-04-15 04:36:58 +02:00
<div class="messagebox-border">
<div class="messagebox-content">
<div class="message_top_line">
2017-08-28 07:09:54 +02:00
<span class="message_sender {{ ^ status_message }} sender_info_hover {{ / status_message }} no-select">
2017-05-23 20:01:24 +02:00
{{ # in clude_sender }}
{{! See ../js/notifications.js for another user of avatar_url. }}
2018-11-08 18:29:58 +01:00
<div class="u- {{ msg / sender_id }} inline_profile_picture {{ # status_message }} sender_info_hover {{ / status_message }} " aria-hidden="true">
2018-10-31 18:15:29 +01:00
<img src=" {{ small_avatar_url }} " alt="" class="no-drag {{ # if sender_is_guest }} guest_user_avatar {{ / if }} "/>
2017-06-26 16:12:49 +02:00
</div>
2017-05-23 20:01:24 +02:00
{{ # if status_message }}
<span class="sender-status">
2018-11-28 00:55:51 +01:00
<span class="sender_name-in-status sender_info_hover auto-select" role="button" tabindex="0"> {{ msg / sender_full_name }} </span>
2017-05-23 20:01:24 +02:00
{{ # if sender_is_bot }}
2018-11-08 18:00:49 +01:00
<i class="zulip-icon bot" aria-label=" {{ t 'Bot' }} "></i>
2017-05-23 20:01:24 +02:00
{{ / if }}
2018-11-28 00:55:51 +01:00
<span class="status-message auto-select">
2017-05-23 20:01:24 +02:00
{{{ status_message }}}
</span>
{{ # if _ and last_edit_timestr in clude_sender }}
2018-11-28 01:24:04 +01:00
<div class="message_edit_notice auto-select" title=" {{ # tr this }} Edited (__last_edit_timestr__) {{ / tr }} ">
2018-11-28 01:20:17 +01:00
( {{ t "EDITED" }} )
</div>
2017-05-23 20:01:24 +02:00
{{ / if _ and }}
</span>
{{ else }}
2018-11-08 20:12:17 +01:00
<span class="sender_name auto-select" role="button" tabindex="0"> {{ msg / sender_full_name }} </span>
2017-04-15 04:36:58 +02:00
{{ # if sender_is_bot }}
2018-11-08 18:00:49 +01:00
<i class="zulip-icon bot" aria-label=" {{ t 'Bot' }} "></i>
2017-04-15 04:36:58 +02:00
{{ / if }}
{{ / if }}
2017-05-23 20:01:24 +02:00
{{ / in clude_sender }}
2017-04-15 04:36:58 +02:00
</span>
2018-01-16 01:12:12 +01:00
<span class="alert-msg pull-right"></span>
2018-11-28 01:28:35 +01:00
<span class="message_time {{ # if msg .locally_echoed }} notvisible {{ / if }} {{ # if status_message }} status-time {{ / if }} ">
{{ # unless in clude_sender }}
<span class="copy-paste-text"> </span>
{{ / unless }}
{{ timestr }}
</span>
2017-04-15 04:36:58 +02:00
{{ # if _ and last_edit_timestr in clude_sender }}
{{ # unless status_message }}
2018-11-28 01:20:17 +01:00
<div class="message_edit_notice" title=" {{ # tr this }} Edited (__last_edit_timestr__) {{ / tr }} ">
( {{ t "EDITED" }} )
</div>
2017-04-15 04:36:58 +02:00
{{ / unless }}
{{ / if _ and }}
2017-08-28 06:33:35 +02:00
<div class="message_controls {{ # status_message }} sender-status-controls {{ / status_message }} no-select">
2017-04-15 04:36:58 +02:00
{{ # if msg / sent_by_me }}
<div class="edit_content"></div>
{{ else }}
2017-09-07 11:14:59 +02:00
<div class="reaction_button">
2018-11-08 18:00:49 +01:00
<i class="fa fa-smile-o" title=" {{ # tr this }} Add emoji reaction {{ / tr }} (:)" aria-label=" {{ # tr this }} Add emoji reaction {{ / tr }} (:)" role="button" aria-haspopup="true" tabindex="0"></i>
2017-04-15 04:36:58 +02:00
</div>
{{ / if }}
2017-12-16 15:42:26 +01:00
{{ # unless msg / locally_echoed }}
2017-04-15 04:36:58 +02:00
<div class="info actions_hover">
2018-11-08 18:00:49 +01:00
<i class="fa fa-chevron-down" title=" {{ # tr this }} Message actions {{ / tr }} (i)" title=" {{ # tr this }} Message actions {{ / tr }} " role="button" aria-haspopup="true" tabindex="0" aria-label=" {{ # tr this }} Message actions {{ / tr }} "></i>
2017-04-15 04:36:58 +02:00
</div>
2017-12-16 15:42:26 +01:00
{{ / unless }}
2017-04-15 04:36:58 +02:00
<div class="message_failed {{ # unless msg .failed_request }} notvisible {{ / unless }} ">
2018-11-08 18:00:49 +01:00
<i class="fa fa-refresh refresh-failed-message" data-toggle="tooltip" title=" {{ t 'Retry' }} " aria-label=" {{ t 'Retry' }} " role="button" tabindex="0"></i>
2018-07-04 01:42:24 +02:00
<i class="fa fa-times-circle remove-failed-message" aria-hidden="true" data-toggle="tooltip" title=" {{ t 'Cancel' }} "></i>
2017-04-15 04:36:58 +02:00
</div>
2017-12-16 13:33:54 +01:00
{{ # unless msg / locally_echoed }}
2018-07-04 01:42:24 +02:00
<div class="star fa {{ # if msg / starred }} fa-star {{ else }} fa-star-o {{ / if }} {{ # if msg / starred }} {{ else }} empty-star {{ / if }} " title=" {{ # tr this .msg }} __starred_status__ this message {{ / tr }} (*)">
2017-04-15 04:36:58 +02:00
</div>
2017-12-16 13:33:54 +01:00
{{ / unless }}
2017-04-15 04:36:58 +02:00
</div>
</div>
<div class="message_content"> {{ # unless status_message }} {{ # if use_match_properties }} {{{ msg / match_content }}} {{ else }} {{{ msg / content }}} {{ / if }} {{ / unless }} </div>
{{ # if last_edit_timestr }}
{{ # unless in clude_sender }}
2018-11-28 01:24:04 +01:00
<div class="message_edit_notice auto-select" title=" {{ # tr this }} Edited (__last_edit_timestr__) {{ / tr }} ">
2018-11-28 01:20:17 +01:00
( {{ t "EDITED" }} )
</div>
2017-04-15 04:36:58 +02:00
{{ / unless }}
{{ / if }}
<div class="message_edit">
2017-05-23 03:38:38 +02:00
<div class="message_edit_form"></div>
2017-04-15 04:36:58 +02:00
</div>
<div class="message_expander message_length_controller" title=" {{ t 'See the rest of this message' }} "> {{ t "[More...]" }} </div>
<div class="message_condenser message_length_controller" title=" {{ t 'Make this message take up less space on the screen' }} "> {{ t "[Condense this message]" }} </div>
2017-07-19 14:01:06 +02:00
<div class="message_reactions"> {{ partial "message_reactions" }} </div>
2016-12-31 06:38:23 +01:00
</div>
2014-02-11 16:14:29 +01:00
</div>
</div>
2014-03-08 08:59:38 +01:00
</div>