Files
upstream-zulip/web/templates/message_body.hbs
upstream-mirror 64898b2c79
Some checks failed
Code scanning / CodeQL (push) Failing after 15s
Zulip production suite / Ubuntu 22.04 production build (push) Failing after 26s
Zulip production suite / Debian 12 production install with custom db name and user (push) Has been skipped
Zulip production suite / Ubuntu 22.04 production install and PostgreSQL upgrade with pgroonga (push) Has been skipped
Zulip production suite / Ubuntu 24.04 production install (push) Has been skipped
Zulip production suite / Ubuntu 26.04 production install (push) Has been skipped
Zulip production suite / Debian 13 production install (push) Has been skipped
Zulip production suite / 7.0 Version Upgrade (push) Has been skipped
Zulip production suite / 8.0 Version Upgrade (push) Has been skipped
Zulip production suite / 6.0 Version Upgrade (push) Has been skipped
Zulip production suite / 10.0 Version Upgrade (push) Has been skipped
Zulip production suite / 9.0 Version Upgrade (push) Has been skipped
Zulip production suite / 12.0 Version Upgrade (push) Has been skipped
Zulip production suite / 11.0 Version Upgrade (push) Has been skipped
GitHub Actions Security Analysis with zizmor / zizmor (push) Failing after 3s
Zulip CI / Debian 12 (Python 3.11, backend + documentation) (push) Failing after 26s
Zulip CI / Ubuntu 22.04 (Python 3.10, backend + frontend) (push) Failing after 3s
Zulip CI / Ubuntu 24.04 (Python 3.12, backend) (push) Failing after 25s
Zulip CI / Ubuntu 26.04 (Python 3.14, backend) (push) Failing after 25s
Zulip CI / Debian 13 (Python 3.13, backend) (push) Failing after 28s
Zulip production suite / Required jobs (push) Has been cancelled
Zulip CI / Required jobs (push) Has been cancelled
API Documentation Update Check / check-feature-level-updated (push) Has been cancelled
API Documentation Update Check / notify-if-api-docs-changed (push) Has been cancelled
snapshot of https://github.com/zulip/zulip.git @ 48c69911c7dd4e03b20552eb3bd77ad8151c1357 (2026-09-15)
2026-09-15 15:05:30 +05:00

85 lines
2.9 KiB
Handlebars

{{#if include_sender}}
{{> message_avatar . ~}}
{{/if}}
<span class="message_sender">
{{#if include_sender}}
<span class="sender_info_hover sender_name" role="button" tabindex="0">
<span class="view_user_card_tooltip sender_name_text" data-is-bot="{{#if sender_is_bot}}true{{else}}false{{/if}}">
{{> user_full_name name=msg/sender_full_name should_add_guest_user_indicator=should_add_guest_indicator_for_sender is_hidden=is_hidden}}
</span>
{{#unless status_message}}
{{#unless is_hidden}}
{{> status_emoji msg/status_emoji_info}}
{{/unless}}
{{/unless}}
</span>
{{#unless is_hidden}}
{{#if sender_is_bot}}
<i class="zulip-icon zulip-icon-bot" aria-label="{{t 'Bot' }}"></i>
{{/if}}
{{#if status_message}}
<span class="message_content rendered_markdown status-message{{#if msg/hide_link_previews}} hide-link-previews{{/if}}">{{rendered_markdown status_message}}</span>
{{#if message_edit_notices_for_status_message}}
{{> edited_notice .}}
{{/if}}
{{/if}}
{{#if message_edit_notices_alongside_sender}}
{{> edited_notice .}}
{{/if}}
{{/unless}}
{{/if}}
</span>
<a {{#unless msg/locally_echoed}}href="{{ msg/url }}"{{/unless}} class="message-time">
{{#unless include_sender}}
<span class="copy-paste-text">&nbsp;</span>
{{/unless}}
{{timestr}}
</a>
{{#if (and (not msg/failed_request) msg/locally_echoed)}}
<span data-tooltip-template-id="slow-send-spinner-tooltip-template" class="fa fa-circle-o-notch slow-send-spinner{{#unless msg/show_slow_send_spinner }} hidden{{/unless}}"></span>
{{/if}}
<div class="message_controls no-select">
{{#if msg/locally_echoed}}
{{#if msg/failed_request}}
{{> message_controls_failed_msg}}
{{ else }}
{{> message_controls .}}
{{/if}}
{{else}}
{{> message_controls .}}
{{/if}}
</div>
{{#unless status_message}}
{{#unless is_hidden}}
<div class="message_content rendered_markdown{{#if msg/hide_link_previews}} hide-link-previews{{/if}}">
{{#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 message_edit_notices_in_left_col}}
{{> edited_notice .}}
{{/if}}
<div class="message_length_controller"></div>
{{#unless (or is_hidden (eq msg.message_reactions.length 0))}}
{{> message_reactions . }}
{{/unless}}
{{#unless (eq msg.reminders.length 0)}}
{{> message_reminders . }}
{{/unless}}