Skip to content

Commit

Permalink
[IMP] Footer message according to installed apps
Browse files Browse the repository at this point in the history
  • Loading branch information
fpodoo committed Aug 12, 2014
1 parent 3f91f85 commit f43e349
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 9 deletions.
23 changes: 14 additions & 9 deletions addons/website/views/website_templates.xml
Original file line number Diff line number Diff line change
Expand Up @@ -150,21 +150,26 @@
<footer>
<div id="footer_container">
</div>
<div class="container mt16 mb8">
<div class="pull-right" t-ignore="true" t-if="not editable">
Create a <a href="http://www.odoo.com/page/website-builder">free website</a> with
<a class="label label-danger" href="http://www.odoo.com/page/website-builder">Odoo</a>
</div>
<div class="pull-left text-muted">
Copyright &amp;copy; <span t-field="res_company.name">Company name</span>
</div>
</div>
</footer>
</div>
</body>
</html>
</template>

<template id="layout_footer_copyright" inherit_id="website.layout" name="Footer Copyright">
<xpath expr="//footer" position="inside">
<div class="container mt16 mb8">
<div class="pull-right" t-ignore="true" t-if="not editable">
Create a <a href="http://www.odoo.com/page/website-builder">free website</a> with
<a class="label label-danger" href="http://www.odoo.com/page/website-builder">Odoo</a>
</div>
<div class="pull-left text-muted">
Copyright &amp;copy; <span t-field="res_company.name">Company name</span>
</div>
</div>
</xpath>
</template>

<template id="layout_logo_show" inherit_id="website.layout" optional="enabled" name="Show Logo">
<xpath expr="//header//a[@class='navbar-brand']" position="replace">
<a href="/" class="navbar-brand logo">
Expand Down
15 changes: 15 additions & 0 deletions addons/website_event/views/website_event.xml
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,21 @@
</t>
</template>

<template id="website.layout_footer_copyright" inherit_id="website.layout" name="Footer Copyright">
<xpath expr="//footer" position="inside">
<div class="container mt16 mb8">
<div class="pull-right" t-ignore="true" t-if="not editable">
Powered by <a class="label label-danger" href="http://www.odoo.com/page/website-builder">Odoo</a>.
Try the <a href="http://www.odoo.com/page/website-builder">open source website builder</a>.
</div>
<div class="pull-left text-muted">
Copyright &amp;copy; <span t-field="res_company.name">Company name</span>
</div>
</div>
</xpath>
</template>


<!-- User Navbar -->
<template id="content_new_event" inherit_id="website.user_navbar" groups="event.group_event_manager">
<xpath expr="//ul[@id='oe_systray']/li/ul[@class='dropdown-menu oe_content_menu']" position="inside">
Expand Down
15 changes: 15 additions & 0 deletions addons/website_quote/views/website_quotation.xml
Original file line number Diff line number Diff line change
Expand Up @@ -516,5 +516,20 @@
</t>
</template>

<template id="website.layout_footer_copyright" inherit_id="website.layout" name="Footer Copyright">
<xpath expr="//footer" position="inside">
<div class="container mt16 mb8">
<div class="pull-right" t-ignore="true" t-if="not editable">
Powered by <a class="label label-danger" href="http://www.odoo.com/page/website-builder">Odoo</a>,
an awesome <a href="http://www.odoo.com/page/crm">Open Source CRM</a>.
</div>
<div class="pull-left text-muted">
Copyright &amp;copy; <span t-field="res_company.name">Company name</span>
</div>
</div>
</xpath>
</template>


</data>
</openerp>
15 changes: 15 additions & 0 deletions addons/website_sale/views/templates.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1216,6 +1216,21 @@
</table>
</template>

<template id="website.layout_footer_copyright" inherit_id="website.layout" name="Footer Copyright">
<xpath expr="//footer" position="inside">
<div class="container mt16 mb8">
<div class="pull-right" t-ignore="true" t-if="not editable">
Powered by <a class="label label-danger" href="http://www.odoo.com/page/website-builder">Odoo</a>,
the #1 <a href="http://www.odoo.com/page/website-builder">Open Source eCommerce</a>.
</div>
<div class="pull-left text-muted">
Copyright &amp;copy; <span t-field="res_company.name">Company name</span>
</div>
</div>
</xpath>
</template>


<!-- User Navbar -->
<template id="content_new_product" inherit_id="website.user_navbar" groups="base.group_sale_manager">
<xpath expr="//ul[@id='oe_systray']/li/ul[@class='dropdown-menu oe_content_menu']" position="inside">
Expand Down

0 comments on commit f43e349

Please sign in to comment.