Extend the ivory and gold palette to shared backend screens and remove conflicting toolbar layout overrides. Correct sidebar action selection and reserve compact sidebar spacing on smaller screens. Hide the default website header on the 11 pages with custom TNCSC navigation using upgradeable template overrides that preserve edited page content. Validation: SCSS compilation, JavaScript syntax, sidebar action selection, XML and manifest checks, brand-leak check, and static browser layout checks at four viewport widths passed. Live Odoo verification remains pending because the local Docker engine is unavailable.
95 lines
4.1 KiB
XML
95 lines
4.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<!-- These pages provide their own TNCSC header and navigation.
|
|
Keep overrides outside the noupdate page seeds so upgrades apply
|
|
the fix without replacing administrator-edited page content. -->
|
|
<template id="view_page_home_custom_header_only"
|
|
inherit_id="tncsc_deployment.view_page_home"
|
|
name="Use TNCSC navigation without the default website header">
|
|
<xpath expr="//t[@t-call='website.layout']" position="inside">
|
|
<t t-set="no_header" t-value="True"/>
|
|
</xpath>
|
|
</template>
|
|
|
|
<template id="view_page_about_custom_header_only"
|
|
inherit_id="tncsc_deployment.view_page_about"
|
|
name="Use TNCSC navigation without the default website header">
|
|
<xpath expr="//t[@t-call='website.layout']" position="inside">
|
|
<t t-set="no_header" t-value="True"/>
|
|
</xpath>
|
|
</template>
|
|
|
|
<template id="view_page_tamil_nadu_custom_header_only"
|
|
inherit_id="tncsc_deployment.view_page_tamil_nadu"
|
|
name="Use TNCSC navigation without the default website header">
|
|
<xpath expr="//t[@t-call='website.layout']" position="inside">
|
|
<t t-set="no_header" t-value="True"/>
|
|
</xpath>
|
|
</template>
|
|
|
|
<template id="view_page_board_custom_header_only"
|
|
inherit_id="tncsc_deployment.view_page_board"
|
|
name="Use TNCSC navigation without the default website header">
|
|
<xpath expr="//t[@t-call='website.layout']" position="inside">
|
|
<t t-set="no_header" t-value="True"/>
|
|
</xpath>
|
|
</template>
|
|
|
|
<template id="view_page_membership_custom_header_only"
|
|
inherit_id="tncsc_deployment.view_page_membership"
|
|
name="Use TNCSC navigation without the default website header">
|
|
<xpath expr="//t[@t-call='website.layout']" position="inside">
|
|
<t t-set="no_header" t-value="True"/>
|
|
</xpath>
|
|
</template>
|
|
|
|
<template id="view_page_membership_benefits_custom_header_only"
|
|
inherit_id="tncsc_deployment.view_page_membership_benefits"
|
|
name="Use TNCSC navigation without the default website header">
|
|
<xpath expr="//t[@t-call='website.layout']" position="inside">
|
|
<t t-set="no_header" t-value="True"/>
|
|
</xpath>
|
|
</template>
|
|
|
|
<template id="view_page_membership_registration_custom_header_only"
|
|
inherit_id="tncsc_deployment.view_page_membership_registration"
|
|
name="Use TNCSC navigation without the default website header">
|
|
<xpath expr="//t[@t-call='website.layout']" position="inside">
|
|
<t t-set="no_header" t-value="True"/>
|
|
</xpath>
|
|
</template>
|
|
|
|
<template id="view_page_events_custom_header_only"
|
|
inherit_id="tncsc_deployment.view_page_events"
|
|
name="Use TNCSC navigation without the default website header">
|
|
<xpath expr="//t[@t-call='website.layout']" position="inside">
|
|
<t t-set="no_header" t-value="True"/>
|
|
</xpath>
|
|
</template>
|
|
|
|
<template id="view_page_product_summer_picnic_custom_header_only"
|
|
inherit_id="tncsc_deployment.view_page_product_summer_picnic"
|
|
name="Use TNCSC navigation without the default website header">
|
|
<xpath expr="//t[@t-call='website.layout']" position="inside">
|
|
<t t-set="no_header" t-value="True"/>
|
|
</xpath>
|
|
</template>
|
|
|
|
<template id="view_page_tamil_school_custom_header_only"
|
|
inherit_id="tncsc_deployment.view_page_tamil_school"
|
|
name="Use TNCSC navigation without the default website header">
|
|
<xpath expr="//t[@t-call='website.layout']" position="inside">
|
|
<t t-set="no_header" t-value="True"/>
|
|
</xpath>
|
|
</template>
|
|
|
|
<template id="view_page_contact_custom_header_only"
|
|
inherit_id="tncsc_deployment.view_page_contact"
|
|
name="Use TNCSC navigation without the default website header">
|
|
<xpath expr="//t[@t-call='website.layout']" position="inside">
|
|
<t t-set="no_header" t-value="True"/>
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|