mirror of
https://github.com/zulip/zulip.git
synced 2026-06-30 21:11:04 +08:00
Some checks are pending
Code scanning / CodeQL (push) Waiting to run
Zulip production suite / Ubuntu 22.04 production build (push) Waiting to run
Zulip production suite / ${{ matrix.name }} (zulip/ci:bookworm, --test-custom-db, Debian 12 production install with custom db name and user, bookworm) (push) Blocked by required conditions
Zulip production suite / ${{ matrix.name }} (zulip/ci:jammy, , Ubuntu 22.04 production install and PostgreSQL upgrade with pgroonga, jammy) (push) Blocked by required conditions
Zulip production suite / ${{ matrix.name }} (zulip/ci:noble, , Ubuntu 24.04 production install, noble) (push) Blocked by required conditions
Zulip production suite / ${{ matrix.name }} (zulip/ci:bookworm-7.0, 7.0 Version Upgrade, bookworm) (push) Blocked by required conditions
Zulip production suite / ${{ matrix.name }} (zulip/ci:bookworm-8.0, 8.0 Version Upgrade, bookworm) (push) Blocked by required conditions
Zulip production suite / ${{ matrix.name }} (zulip/ci:jammy-6.0, 6.0 Version Upgrade, jammy) (push) Blocked by required conditions
Zulip production suite / ${{ matrix.name }} (zulip/ci:noble-9.0, 9.0 Version Upgrade, noble) (push) Blocked by required conditions
Zulip CI / ${{ matrix.name }} (zulip/ci:bookworm, true, false, Debian 12 (Python 3.11, backend + documentation), bookworm) (push) Waiting to run
Zulip CI / ${{ matrix.name }} (zulip/ci:jammy, false, true, Ubuntu 22.04 (Python 3.10, backend + frontend), jammy) (push) Waiting to run
Zulip CI / ${{ matrix.name }} (zulip/ci:noble, false, false, Ubuntu 24.04 (Python 3.12, backend), noble) (push) Waiting to run
This commit moves the placeholder elements for the message edit form, to `message_edit_form.hbs`, so they are conditionally rendered only when a message is being edited, rather than being present for every message in the list. Fixes #31134.
18 lines
972 B
Handlebars
18 lines
972 B
Handlebars
<div id="message-row-{{message_list_id}}-{{msg/id}}" data-message-id="{{msg/id}}"
|
|
class="message_row{{#unless msg/is_stream}} private-message{{/unless}}{{#include_sender}} messagebox-includes-sender{{/include_sender}}{{#if mention_classname}} {{mention_classname}}{{/if}}{{#msg.unread}} unread{{/msg.unread}} {{#if msg.locally_echoed}}locally-echoed{{/if}} selectable_row"
|
|
role="listitem">
|
|
{{#if want_date_divider}}
|
|
<div class="unread_marker date_unread_marker"><div class="unread-marker-fill"></div></div>
|
|
<div class="date_row no-select">
|
|
{{{date_divider_html}}}
|
|
</div>
|
|
{{/if}}
|
|
<div class="unread_marker message_unread_marker"><div class="unread-marker-fill"></div></div>
|
|
<div class="messagebox">
|
|
<div class="messagebox-content {{#if status_message}}is-me-message{{/if}}">
|
|
{{> message_body}}
|
|
{{!-- message_edit_form.hbs is inserted here when editing a message. --}}
|
|
</div>
|
|
</div>
|
|
</div>
|