mirror of https://github.com/zulip/zulip.git
56 lines
1.7 KiB
Handlebars
56 lines
1.7 KiB
Handlebars
<div class="message_top_line">
|
|
{{#unless status_message}}
|
|
<span class="message_sender sender_info_hover no-select">
|
|
{{#if include_sender}}
|
|
|
|
{{partial "message_avatar"}}
|
|
|
|
<span class="sender_name auto-select" role="button" tabindex="0">{{msg/sender_full_name}}</span>
|
|
{{#if sender_is_bot}}
|
|
<i class="zulip-icon bot" aria-label="{{t 'Bot' }}"></i>
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
</span>
|
|
{{/unless}}
|
|
|
|
{{#if status_message}}
|
|
{{partial "me_message"}}
|
|
{{/if}}
|
|
|
|
<span class="alert-msg pull-right"></span>
|
|
|
|
<span class="message_time{{#if msg.locally_echoed}} notvisible{{/if}}{{#if status_message}} status-time{{/if}}">
|
|
{{#unless include_sender}}
|
|
<span class="copy-paste-text"> </span>
|
|
{{/unless}}
|
|
{{timestr}}
|
|
</span>
|
|
|
|
{{#if_and last_edit_timestr include_sender}}
|
|
{{#unless status_message}}
|
|
{{partial "edited_notice"}}
|
|
{{/unless}}
|
|
{{/if_and}}
|
|
|
|
{{partial "message_controls"}}
|
|
|
|
</div>
|
|
|
|
{{#unless status_message}}
|
|
<div class="message_content rendered_markdown">{{#if use_match_properties}}{{{msg/match_content}}}{{else}}{{{msg/content}}}{{/if}}</div>
|
|
{{/unless}}
|
|
|
|
{{#if last_edit_timestr}}
|
|
{{#unless include_sender}}
|
|
{{partial "edited_notice"}}
|
|
{{/unless}}
|
|
{{/if}}
|
|
|
|
<div class="message_edit">
|
|
<div class="message_edit_form"></div>
|
|
</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>
|
|
<div class="message_reactions">{{ partial "message_reactions" }}</div>
|