[REF] *: adapt to header templates revision at [1]
*: theme_cobalt, theme_paptic [1]: https://github.com/odoo/odoo/pull/68149 closes odoo/design-themes#11 Related: odoo/upgrade#2294 Related: odoo/odoo#68149 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
@@ -5,14 +5,8 @@
|
|||||||
|
|
||||||
<!-- ==== Headers ===== -->
|
<!-- ==== Headers ===== -->
|
||||||
<template id="header_shadow" inherit_id="website.template_header_default" name="Cobalt Header Shadow">
|
<template id="header_shadow" inherit_id="website.template_header_default" name="Cobalt Header Shadow">
|
||||||
<xpath expr="//nav" position="attributes">
|
<xpath expr="//t[@t-set='_navbar_classes']" position="attributes">
|
||||||
<attribute name="class" remove="shadow-sm" separator=" "/>
|
<attribute name="t-valuef" remove="shadow-sm" separator=" "/>
|
||||||
</xpath>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<template id="header_button" inherit_id="website.template_header_default_oe_structure_header_default_1" name="Cobalt Header Button">
|
|
||||||
<xpath expr="//a[hasclass('btn')]" position="attributes">
|
|
||||||
<attribute name="class" add="btn-secondary" remove="btn-primary" separator=" "/>
|
|
||||||
</xpath>
|
</xpath>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -5,17 +5,11 @@
|
|||||||
|
|
||||||
<!-- ==== Headers ===== -->
|
<!-- ==== Headers ===== -->
|
||||||
<template id="header_shadow" inherit_id="website.template_header_default" name="Paptic Header Shadow">
|
<template id="header_shadow" inherit_id="website.template_header_default" name="Paptic Header Shadow">
|
||||||
<xpath expr="//nav" position="attributes">
|
<xpath expr="//t[@t-set='_navbar_classes']" position="attributes">
|
||||||
<attribute name="class" remove="shadow-sm" separator=" "/>
|
<attribute name="class" remove="shadow-sm" separator=" "/>
|
||||||
</xpath>
|
</xpath>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template id="header_button" inherit_id="website.template_header_default_oe_structure_header_default_1" name="Paptic Header Button">
|
|
||||||
<xpath expr="//a[hasclass('btn')]" position="attributes">
|
|
||||||
<attribute name="class" add="btn-secondary" remove="btn-primary" separator=" "/>
|
|
||||||
</xpath>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Snippets -->
|
<!-- Snippets -->
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user