{{! Client-side Mustache template for rendering messages.}} {{! Because we use table-layout: fixed for the Message table, all the column widths are computed from the first row; these CSS classes specify the widths for that first, collapsed row. (Otherwise, colspan breaks everything).}} {{#include_layout_row}}
{{/include_layout_row}} {{#each messages}} {{#with this}} {{#include_bookend}}
{{#if subscribed}} --- Subscribed to stream {{subscribed}} --- {{/if}} {{#if unsubscribed}} --- Unsubscribed from stream {{unsubscribed}} --- {{/if}}
{{/include_bookend}} {{#if show_date}}
{{{show_date}}}
{{/if}} {{#if is_summary}}
{{! [+] }} {{#if is_stream}} {{! invite-only lock icon }} {{#if invite_only}} {{/if}} {{! stream }} {{display_recipient}} {{! > }}   >  {{! topic }} {{subject}} {{! exterior links (e.g. to a trac ticket) }} {{#each subject_links}} {{/each}} {{else}} {{! You and Somebody Else, links to PM narrow}} You and {{display_reply_to}} {{/if}} {{! "(5 read)" or something similar}} ({{count}} {{summary_adjective}})
{{else}} {{#include_recipient}}
{{#if is_stream}}
{{! [-] }} {{#if collapsible}} {{/if}} {{! stream link }} {{! invite only lock }} {{#if invite_only}} {{/if}} {{display_recipient}} {{! hidden narrow icon for copy-pasting }} > {{! topic stuff }} {{! topic link }} {{#if ../../../../../use_match_properties}} {{{match_subject}}} {{else}} {{subject}} {{/if}} {{! edit subject pencil icon }} {{#if always_visible_topic_edit}} {{else}} {{#if on_hover_topic_edit}} {{/if}} {{/if}} {{! exterior links (e.g. to a trac ticket) }} {{#each subject_links}} {{/each}}
{{else}}
{{#if collapsible}} {{/if}} You and {{display_reply_to}}
{{/if}}
{{/include_recipient}}
{{#include_sender}} {{! See ../js/notifications.js for another user of avatar_url. }}
{{#unless status_message}} {{sender_full_name}} {{else}} {{sender_full_name}} {{{ status_message }}} {{/unless}} {{/include_sender}}
{{timestr}}
Not delivered
{{#unless status_message}}{{#if ../../../../use_match_properties}}{{{match_content}}}{{else}}{{{content}}}{{/if}}{{/unless}}
[More...]
[Condense this message]
{{#if last_edit_timestr}}
Last edited: {{{last_edit_timestr}}}
{{/if}}
{{/if}} {{/with}} {{/each}} {{#if trailing_bookend}}
{{trailing_bookend}}

{{/if}}