mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
update misc and fix
This commit is contained in:
@@ -1,13 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data>
|
||||
<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>
|
||||
</data>
|
||||
<!-- 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>
|
||||
Reference in New Issue
Block a user