{{! Client-side Mustache template for rendering messages.}}

{{#each message_groups}}
    {{#with this}}
        {{#if show_group_date_divider}}
        <div class="date_row no-select">{{{group_date_divider_html}}}</div>
        {{/if}}

        {{#if bookend_top}}
        {{> bookend}}
        {{/if}}

        <div class="recipient_row" id="{{message_group_id}}">
            {{> recipient_row use_match_properties=../use_match_properties}}
            {{#each message_containers}}
                {{#with this}}
                {{> single_message use_match_properties=../../use_match_properties table_name=../../table_name}}
                {{/with}}
            {{/each}}
        </div>
    {{/with}}
{{/each}}
