<?xml version="1.0"?>
<data inherit_id="website.website_info" name="Show Odoo Information">
    <xpath expr="//div[@id='wrap']" position="inside">
        <div class="oe_structure">
            <section class="container">
                <h1><t t-esc="res_company.name"/>
                    <small groups="base.group_no_one">Odoo Version <t t-out="version.get('server_version')"/></small>
                </h1>
                <p>
                    Information about the <t t-esc="res_company.name"/> instance of Odoo, the <a target="_blank" href="https://www.odoo.com">Open Source ERP</a>.
                </p>

                <div class="alert alert-warning alert-dismissable mt16" groups="website.group_website_restricted_editor" role="status">
                   <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"/>
                   <p>
                     Note: To hide this page, uncheck it from the Customize tab in edit mode.
                   </p>
                </div>
                <h2>Installed Applications</h2>
                <dl class="dl-horizontal" t-foreach="apps" t-as="app">
                    <dt>
                        <a t-att-href="app.website" t-if="app.website">
                            <t t-out="app.shortdesc"/>
                        </a>
                        <span t-out="app.shortdesc" t-if="not app.website"/>
                    </dt>
                    <dd>
                        <span t-out="app.summary"/>
                    </dd><dd class="text-muted" groups="base.group_no_one">
                        Technical name: <span t-field="app.name"/>, author: <span t-field="app.author"/>
                    </dd>
                </dl>

                <div t-if="l10n">
                    <h2 class="mt32">Installed Localizations / Account Charts</h2>
                    <dl class="dl-horizontal" t-foreach="l10n" t-as="app">
                        <dt>
                            <a t-att-href="app.website or 'https://www.odoo.com/app/accounting/' + app.name">
                                <t t-out="app.shortdesc"/>
                            </a>
                        </dt>
                        <dd>
                            <span t-out="app.summary"/>
                        </dd><dd class="text-muted" groups="base.group_no_one">
                            Technical name: <span t-field="app.name"/>, author: <span t-field="app.author"/>
                        </dd>
                    </dl>
                </div>
            </section>
        </div>
    </xpath>
</data>

