board.xml 1.56 KB
<odoo>
    <data>
        <template>
        <t t-name="DashBoard.action">
            <div t-att-data-id="action.attrs.id" class="oe_action">
                <h2 t-attf-class="oe_header #{action.attrs.string ? '' : 'oe_header_empty'}">
                    <span class="oe_header_txt"> <t t-esc="action.attrs.string"/> </span>
                    <input class = "oe_header_text" type="text"/>
                    <t t-if="!action.attrs.string">&amp;nbsp;</t>
                    <span class='oe_icon oe_minimize oe_fold' t-if="!action.attrs.fold"></span>
                    <span class='oe_icon oe_maximize oe_fold' t-if="action.attrs.fold"></span>
                </h2>
                <div t-att-class="'oe_content' + (action.attrs.fold ? ' oe_folded' : '')"/>
            </div>
        </t>

        <t t-name="DashBoard.NoContent">
            <div class="o_view_nocontent">
                <div class="o_nocontent_help">
                    <p class="o_view_nocontent_neutral_face">
                        Your personal dashboard is empty
                    </p><p>
                        To add your first report into this dashboard, go to any
                        menu, switch to list or graph view, and click <i>"Add to
                        Dashboard"</i> in the extended search options.
                    </p><p>
                        You can filter and group data before inserting into the
                        dashboard using the search options.
                    </p>
                </div>
            </div>
        </t>

        </template>
    </data>
</odoo>