summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Kersten <jke@odoo.com>2016-09-13 16:59:50 +0200
committerJeremy Kersten <jke@odoo.com>2016-09-13 17:33:42 +0200
commita624d67603fd986f2916a075212beb846574ddff (patch)
tree14e1a8bb45cf6ee726b80cfffe2c24517b6603f0
parentf669ebeaf5837ad4bd7014c8e7e7f30377a6bd06 (diff)
[FIX] website_links: fix position Share this Page + rename it in Track this page
-rw-r--r--addons/website_links/views/website_links_template.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/addons/website_links/views/website_links_template.xml b/addons/website_links/views/website_links_template.xml
index c91db330dc9..0bebe2efc7f 100644
--- a/addons/website_links/views/website_links_template.xml
+++ b/addons/website_links/views/website_links_template.xml
@@ -12,13 +12,14 @@
</template>
<template id="share_page_menu" inherit_id="website.user_navbar">
- <xpath expr="//li[@groups='base.group_website_designer']//ul" position="inside">
+ <xpath expr="//li/a[@data-action='promote-current-page']/.." position="after">
<li>
<a href="/r" id="o_website_links_share_page">
- <span title="Track this page to count clicks">Share this Page</span>
+ <span title="Track this page to count clicks">Track this Page</span>
</a>
</li>
</xpath>
+
</template>
<template id="asset_website_links_menu" inherit_id="website.assets_editor">