summaryrefslogtreecommitdiff
path: root/addons/website
diff options
context:
space:
mode:
authorYounn Olivier <yol@odoo.com>2021-02-09 20:12:45 +0000
committerqsm-odoo <qsm@odoo.com>2021-04-06 09:52:35 +0000
commit541283f1d40a24099e1ff12c37fa1d374777b2b4 (patch)
tree95269d9166bc05c50b908490cb145cfe67433869 /addons/website
parentbe8801716ac33d8ce8d5f0a4dba7422bde695c04 (diff)
[FIX] website: remove title by default on share snippet
The option to add the label "Share" before the social media icons is still usable. Part of https://github.com/odoo/odoo/pull/65575 task-2446852
Diffstat (limited to 'addons/website')
-rw-r--r--addons/website/views/snippets/s_share.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website/views/snippets/s_share.xml b/addons/website/views/snippets/s_share.xml
index 1244da3ad2c..c0bb0fd517e 100644
--- a/addons/website/views/snippets/s_share.xml
+++ b/addons/website/views/snippets/s_share.xml
@@ -3,7 +3,7 @@
<template id="s_share" name="Share">
<div t-attf-class="s_share text-left #{_classes}">
- <h4 t-if="not _no_title" class="s_share_title">Share</h4>
+ <h4 t-if="not _no_title" class="s_share_title d-none">Share</h4>
<a href="https://www.facebook.com/sharer/sharer.php?u={url}" t-attf-class="s_share_facebook #{_link_classes}" target="_blank">
<i t-attf-class="fa fa-facebook #{not _link_classes and 'rounded shadow-sm'}"/>
</a>