summaryrefslogtreecommitdiffstats
path: root/roles/reverseproxy/files/conversejs/src/plugins/headlines-view/templates/headlines.js
blob: 9b5fa8936151fd9ecf17f15506c2160a670cac57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import '../heading.js';
import { html } from "lit";

export default (model) => html`
    <div class="flyout box-flyout">
        <converse-dragresize></converse-dragresize>
        ${ model ? html`
            <converse-headlines-heading jid="${model.get('jid')}" class="chat-head chat-head-chatbox row no-gutters">
            </converse-headlines-heading>
            <div class="chat-body">
                <div class="chat-content" aria-live="polite">
                    <converse-chat-content
                        class="chat-content__messages"
                        jid="${model.get('jid')}"></converse-chat-content>
                </div>
            </div>` : '' }
    </div>
`;