43 lines
2.2 KiB
XML
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>
|