Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
vauxoo-dev
addons-vauxoo
Commits
65a40ec8
Commit
65a40ec8
authored
May 30, 2016
by
oalca
Browse files
[IMP] manufacturer website link now opens in new page
parent
e5ab5f51
Changes
1
Hide whitespace changes
Inline
Side-by-side
website_product_manufacturer_url/views/templates.xml
View file @
65a40ec8
...
...
@@ -3,7 +3,7 @@
<data>
<template
id=
"product_manufacturer_url"
inherit_id=
"website_sale.product"
>
<xpath
expr=
"//hr[@t-if='product.description_sale']"
position=
"before"
>
<a
t-if=
"product.manufacturer_purl"
t-att-href=
"product.manufacturer_purl"
class=
"alert-link"
>
Manufacturer Website
</a>
<a
t-if=
"product.manufacturer_purl"
target=
"_blank"
t-att-href=
"product.manufacturer_purl"
class=
"alert-link"
>
Manufacturer Website
</a>
</xpath>
</template>
</data>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment