projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3540484
)
[FIX] layout - use company name for attribut alt of company logo
author
Jeremy Kersten
<jke@odoo.com>
Fri, 14 Nov 2014 15:19:33 +0000
(16:19 +0100)
committer
Jeremy Kersten
<jke@odoo.com>
Fri, 14 Nov 2014 15:19:33 +0000
(16:19 +0100)
addons/website/views/website_templates.xml
patch
|
blob
|
history
diff --git
a/addons/website/views/website_templates.xml
b/addons/website/views/website_templates.xml
index
f4ecc8c
..
917fd0a
100644
(file)
--- a/
addons/website/views/website_templates.xml
+++ b/
addons/website/views/website_templates.xml
@@
-173,7
+173,7
@@
<template id="layout_logo_show" inherit_id="website.layout" customize_show="True" name="Show Logo">
<xpath expr="//header//a[@class='navbar-brand']" position="replace">
<a href="/" class="navbar-brand logo">
- <img src="/logo.png" alt="Logo of company"/>
+ <img src="/logo.png" t-att-alt="'Logo of %s' % res_company.name" t-att-title="res_company.name"/>
</a>
</xpath>
</template>