summaryrefslogtreecommitdiff
path: root/addons/website_forum/static/src/xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/website_forum/static/src/xml')
-rw-r--r--addons/website_forum/static/src/xml/website_forum_share_templates.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/website_forum/static/src/xml/website_forum_share_templates.xml b/addons/website_forum/static/src/xml/website_forum_share_templates.xml
index 205b05d9011..e1ef8d75194 100644
--- a/addons/website_forum/static/src/xml/website_forum_share_templates.xml
+++ b/addons/website_forum/static/src/xml/website_forum_share_templates.xml
@@ -13,7 +13,7 @@
<t t-if="target_type == 'question'" t-call="website_forum.social_message_question"/>
<t t-if="target_type == 'answer'" t-call="website_forum.social_message_answer"/>
<t t-if="target_type == 'default'" t-call="website_forum.social_message_default"/>
- <div class="share-icons text-center text-primary">
+ <div t-if="state != 'pending'" class="share-icons text-center text-primary">
<t t-foreach="medias" t-as="media">
<a style="cursor: pointer" t-attf-class="fa-stack fa-lg share #{media}" t-attf-aria-label="Share on #{media}" t-attf-title="Share on #{media}">
<span class="fa fa-square fa-stack-2x"></span>
@@ -45,6 +45,7 @@
<p>On average, <b>45% of questions shared</b> on social networks get an answer within
5 hours. Questions shared on two social networks have <b>65% more chance to get an
answer</b> !</p>
+ <p t-if="state == 'pending'">You can share your question once it has been validated</p>
</t>
<t t-name="website_forum.social_message_answer">
<p>By sharing you answer, you will get additional <b>karma points</b> if your