summaryrefslogtreecommitdiff
path: root/addons/website_forum/data/forum_default_faq.xml
diff options
context:
space:
mode:
authorSébastien Mottet (oms) <oms@odoo.com>2021-05-12 13:51:09 +0000
committerSébastien Mottet (oms) <oms@odoo.com>2021-05-12 13:51:09 +0000
commitd4e046209914a7be3aed976a1fc3a74020843309 (patch)
tree6aee1f2752d2794c2a5227ca4cd25bb8bc6875c7 /addons/website_forum/data/forum_default_faq.xml
parent67e706b76fefa7eaff12722a4bda6fa4ce497eaf (diff)
[FIX] website_forum: add data-parent to fix faq accordion
website_forum.faq_accordion is not rendered by a drag'n'drop and data-parent is therefore not set on tabpanels by onBuilt. closes odoo/odoo#70759 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons/website_forum/data/forum_default_faq.xml')
-rw-r--r--addons/website_forum/data/forum_default_faq.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/addons/website_forum/data/forum_default_faq.xml b/addons/website_forum/data/forum_default_faq.xml
index 71406580d45..d53d6df2f03 100644
--- a/addons/website_forum/data/forum_default_faq.xml
+++ b/addons/website_forum/data/forum_default_faq.xml
@@ -12,7 +12,7 @@
<a href="#" role="tab" data-toggle="collapse" aria-expanded="false" class="collapsed card-header" data-target="#collapse1">
<b>What kinds of questions can I ask here?</b>
</a>
- <div id="collapse1" class="collapse" role="tabpanel">
+ <div id="collapse1" class="collapse" data-parent="#myCollapse" role="tabpanel">
<div class="card-body">
<p>This community is for professional and enthusiast users, partners and programmers. You can ask questions about:</p>
<ul>
@@ -31,7 +31,7 @@
<a href="#" role="tab" data-toggle="collapse" aria-expanded="false" class="collapsed card-header" data-target="#collapse2">
<b>What should I avoid in my questions?</b>
</a>
- <div id="collapse2" class="collapse" role="tabpanel">
+ <div id="collapse2" class="collapse" data-parent="#myCollapse" role="tabpanel">
<div class="card-body">
<p>You should only ask practical, answerable questions based on actual problems that you face. Chatty, open-ended questions diminish the usefulness of this site and push other questions off the front page.</p>
<p>To prevent your question from being flagged and possibly removed, avoid asking subjective questions where …</p>
@@ -58,7 +58,7 @@
<a href="#" role="tab" data-toggle="collapse" aria-expanded="false" class="collapsed card-header" data-target="#collapse3">
<b>What should I avoid in my answers?</b>
</a>
- <div id="collapse3" class="collapse" role="tabpanel">
+ <div id="collapse3" class="collapse" data-parent="#myCollapse" role="tabpanel">
<div class="card-body">
<p><b>Answers should not add or expand questions</b>. Insteadeither edit the question or add a comment.</p>
<p><b>Answers should not comment other answers</b>. Instead add a comment on the other answers.</p>
@@ -74,7 +74,7 @@
<a href="#" role="tab" data-toggle="collapse" aria-expanded="false" class="collapsed card-header" data-target="#collapse4">
<b>Why can other people edit my questions/answers?</b>
</a>
- <div id="collapse4" class="collapse" role="tabpanel">
+ <div id="collapse4" class="collapse" data-parent="#myCollapse" role="tabpanel">
<div class="card-body">
<p>The goal of this site is create a relevant knowledge base that would answer questions related to Odoo.</p>
<p>Therefore questions and answers can be edited like wiki pages by experienced users of this site in order to improve the overall quality of the knowledge base content. Such privileges are granted based on user karma level: you will be able to do the same once your karma gets high enough.</p>