Files
zulip/web/templates/single_message.hbs
Aman Agrawal 9aa9f9b3c8 message: Separate unread marker of date_row from message.
This allows us to easily disable unread marker for date row of
the first unread message without producing any bugs.
2023-05-19 13:48:16 -07:00

17 lines
801 B
Handlebars

<div zid="{{msg/id}}" id="{{table_name}}{{msg/id}}"
class="message_row{{#unless msg/is_stream}} private-message{{/unless}}{{#include_sender}} include-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">
{{> message_body}}
</div>
</div>
</div>