mirror of https://github.com/zulip/zulip.git
69 lines
2.0 KiB
Handlebars
69 lines
2.0 KiB
Handlebars
{{#unless status_message}}
|
|
<span class="message_sender sender_info_hover no-select">
|
|
{{#if include_sender}}
|
|
<span>
|
|
{{> message_avatar ~}}
|
|
<span class="sender_name auto-select" role="button" tabindex="0">
|
|
<span class="sender_name_padding view_user_card_tooltip"></span>
|
|
<span class="view_user_card_tooltip">{{msg/sender_full_name}}{{> status_emoji msg/status_emoji_info}}</span>
|
|
</span>
|
|
{{#if sender_is_bot}}
|
|
<i class="zulip-icon zulip-icon-bot" aria-label="{{t 'Bot' }}"></i>
|
|
{{/if}}
|
|
{{#if edited_alongside_sender}}
|
|
{{> edited_notice}}
|
|
{{/if}}
|
|
</span>
|
|
{{/if}}
|
|
</span>
|
|
{{/unless}}
|
|
|
|
{{#if status_message}}
|
|
{{> me_message}}
|
|
{{/if}}
|
|
|
|
<span class="alert-msg"></span>
|
|
|
|
<a {{#unless msg/locally_echoed}}href="{{ msg/url }}"{{/unless}} class="message_time{{#if status_message}} status-time{{/if}}">
|
|
{{#unless include_sender}}
|
|
<span class="copy-paste-text"> </span>
|
|
{{/unless}}
|
|
{{timestr}}
|
|
</a>
|
|
|
|
{{#if msg/locally_echoed}}
|
|
<span class="fa fa-circle-o-notch slow-send-spinner hidden"></span>
|
|
{{/if}}
|
|
|
|
{{> message_controls}}
|
|
|
|
{{#unless status_message}}
|
|
{{#unless is_hidden}}
|
|
<div class="message_content rendered_markdown">
|
|
{{#if use_match_properties}}
|
|
{{rendered_markdown msg/match_content}}
|
|
{{else}}
|
|
{{rendered_markdown msg/content}}
|
|
{{/if}}
|
|
</div>
|
|
{{else}}
|
|
<div class="message_content rendered_markdown">
|
|
{{> message_hidden_dialog}}
|
|
</div>
|
|
{{/unless}}
|
|
{{/unless}}
|
|
|
|
{{#if edited_in_left_col}}
|
|
{{> edited_notice}}
|
|
{{/if}}
|
|
|
|
<div class="message_edit">
|
|
<div class="message_edit_form"></div>
|
|
</div>
|
|
<div class="message_expander message_length_controller" title="{{t 'Expand message (-)' }}">{{t "[More…]" }}</div>
|
|
<div class="message_condenser message_length_controller" title="{{t 'Show less' }} (-)">[{{t "Show less" }}]</div>
|
|
|
|
{{#unless is_hidden}}
|
|
<div class="message_reactions">{{> message_reactions }}</div>
|
|
{{/unless}}
|