mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
24 lines
1.1 KiB
XML
24 lines
1.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<!-- sample add same logo-->
|
|
<template id="option_header_brand_logo" inherit_id="website.option_header_brand_logo">
|
|
<xpath expr="//a" position="after">
|
|
<a href="/" t-attf-class="navbar-brand logo #{_link_class}">
|
|
<span t-if="website.logo" class="d-lg-none"
|
|
t-field="website.logo" t-options="{'widget': 'image', 'width': auto, 'height': 40}" role="img"
|
|
t-att-aria-label="'sample Logo of %s' % website.name" t-att-title="website.name"/>
|
|
</a>
|
|
</xpath>
|
|
</template>
|
|
|
|
|
|
<!-- not use from v15-->
|
|
<!-- <template id="assets_backend" name="app_web_supero2m assets" inherit_id="web.assets_backend">-->
|
|
<!-- <xpath expr="//link[last()]" position="after">-->
|
|
<!-- <link rel="stylesheet" type="text/scss" href="/app_web_supero2m/static/src/scss/app.scss"/>-->
|
|
<!-- </xpath>-->
|
|
<!-- <xpath expr="script[last()]" position="after">-->
|
|
<!-- <script type="text/javascript" src="/app_web_supero2m/static/src/js/list_renderer.js"/>-->
|
|
<!-- </xpath>-->
|
|
<!-- </template>-->
|
|
</odoo> |