</div>
<div t-attf-class="oe_kanban_content faq_question_content">
- <h2><t t-esc="record.name.value" /></h2>
+ <h1><t t-esc="record.name.value" /></h1>
- <h4>Description</h4>
<t t-esc="record.description.value" />
- <h4>Questions</h4>
+ <h2>Questions :</h2>
<ul t-if="record.question_items.value">
<li t-foreach="record.question_items.value" t-as="question" t-att-class="question_parity">
<p t-if="answers == ''">Pas de réponse pour cette question.</p>
</t>
<t t-name="answer2_template.sub">
- <p><t t-esc="title"/> (ID : <t t-esc="id"/>)</p>
+ <t t-esc="title"/> (ID : <t t-esc="id"/>)
</t>-->
<t t-name="question_template.sub">
- <p><t t-esc="title"/> (ID : <t t-esc="id"/>)</p>
+ <b><t t-esc="title"/> (ID : <t t-esc="id"/>)</b>
+
<ul t-if="answers">
<li t-foreach="answers" t-as="answer" t-att-class="answer_parity">
- <p><t t-esc="answer.name"/> (ID : <t t-esc="answer.id"/>)</p>
+ <t t-esc="answer.name"/> (ID : <t t-esc="answer.id"/>)
</li>
</ul>
- <p t-if="answers == ''">Pas de réponse pour cette question.</p>
+
+ <ul t-if="answers == ''"><li>Pas de réponse pour cette question.</li></ul>
</t>
</templates>
</kanban>
<div t-attf-class="oe_kanban_content">
<h2><field name="name" /></h2>
- <h4>Question</h4>
+ <h4>Thème : <field name="theme_id" /></h4>
+ <h4>Question :</h4>
<field name="description" />
- <h4>Réponses</h4>
+ <h4>Réponses :</h4>
<field name="answer_items" invisible="1" />
<ul t-if="record.answer_items.value">
<li t-foreach="record.answer_items.value" t-as="answer" t-att-class="answer_parity">
</li>
</ul>
- <p t-if="record.answer_items.value == ''">Pas de réponse pour l'instant.</p>
-
+ <ul t-if="record.answer_items.value == ''"><li>Pas de réponse pour l'instant.</li></ul>
</div>
</div>
</t>
<t t-name="answer_template.sub">
- <p><t t-esc="title"/> (ID : <t t-esc="id"/>)</p>
+ <t t-esc="title"/> (ID : <t t-esc="id"/>)
</t>
</templates>
</kanban>