<?xml version="1.0"?>
<kanban>
                    <field name="is_member"/>
                    <field name="group_ids"/>
                    <field name="active"/>
                    <templates>
                        <t t-name="card" class="row g-0">
                            <widget name="web_ribbon" class="d-flex" title="Archived" bg_color="text-bg-danger" invisible="active"/>
                            <aside class="col-2 my-auto">
                                <field name="avatar_128" widget="image" options="{'size': [50, 50]}" alt="Channel"/>
                            </aside>
                            <main class="col me-4 ms-2">
                                <span class="fw-bold fs-5">#<field name="name"/></span>
                                <field name="channel_type" groups="base.group_no_one"/>
                                <field name="description" class="text-muted lh-1 small"/>
                                <button type="object" invisible="is_member or group_ids" class="btn btn-primary ms-auto mt-auto" name="channel_join">Join</button>
                                <button type="object" invisible="not is_member or group_ids" class="btn btn-secondary ms-auto mt-auto" name="action_unfollow">Leave</button>
                            </main>
                        </t>
                    </templates>
                </kanban>
            