Alaguraj0361 0f462ad21a
Some checks failed
CI / Brand-leak check (push) Has been cancelled
CI / flake8 / pylint-odoo / manifest completeness (push) Has been cancelled
CI / Install all modules with --test-enable (push) Has been cancelled
add TNCSC deployment module, community add-ons, role guides, and website navigation overrides
2026-09-28 19:43:48 +05:30

43 lines
2.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="browser_branding" inherit_id="web.layout" name="TNCSC Browser Branding">
<xpath expr="//head/title" position="before">
<t t-set="title" t-value="{
'': 'Home | TNCSC',
'/about': 'About Us | TNCSC',
'/about/tamil-nadu': 'Tamil Nadu | TNCSC',
'/about/board-of-directors': 'Board of Directors | TNCSC',
'/membership': 'Membership | TNCSC',
'/membership/benefits': 'Membership Benefits | TNCSC',
'/membership/registration': 'Membership Registration | TNCSC',
'/membership/join': 'Join Membership | TNCSC',
'/event': 'Events | TNCSC',
'/tamil-school': 'Tamil School | TNCSC',
'/school/register': 'Tamil School Registration | TNCSC',
'/school/register/student': 'Tamil School Registration - Student | TNCSC',
'/school/register/class': 'Tamil School Registration - Class | TNCSC',
'/sponsors': 'Sponsors | TNCSC',
'/contact': 'Contact Us | TNCSC',
'/my': 'Member Portal | TNCSC',
'/my/home': 'Member Portal | TNCSC',
'/my/membership': 'My Membership | TNCSC',
'/my/school': 'My Tamil School | TNCSC',
'/web/login': 'Member Login | TNCSC',
'/web/signup': 'Create Account | TNCSC',
'/web/reset_password': 'Reset Password | TNCSC',
}.get(request.httprequest.path.rstrip('/'), title)"/>
</xpath>
<xpath expr="//head/title" position="attributes">
<attribute name="t-esc">title if title and title != 'Odoo' else 'TNCSC'</attribute>
</xpath>
<xpath expr="//head/link[@rel='shortcut icon']" position="attributes">
<attribute name="type">image/png</attribute>
<attribute name="t-att-href">'/tncsc_deployment/static/src/img/brand/logo.png'</attribute>
</xpath>
</template>
<record id="website.default_website" model="website">
<field name="favicon" type="base64" file="tncsc_deployment/static/src/img/brand/logo.png"/>
</record>
</odoo>