<field name="questions" invisible="1" />
<field name="question_items" invisible="1" />
<t t-name="kanban-box">
- <div class="oe_kanban_card oe_semantic_html_override oe_resource_details oe_kanban_global_click_edit faq_question_panel">
+ <div class="oe_kanban_card oe_semantic_html_override oe_resource_details faq_question_panel">
<div class="oe_dropdown_kanban">
<div class="oe_dropdown_toggle">
<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">
+ <ul t-if="record.question_items.value" t-att-class="question_parity">
+ <li t-foreach="record.question_items.value" t-as="question" class="question_frame">
<t t-call="question_template.sub">
<t t-set="title" t-value="question.name"/>
<t t-set="id" t-value="question.id"/>
</div>
</t>
<t t-name="question_template.sub">
- <p><t t-esc="title"/> (ID : <t t-esc="id"/>)</p>
- <ul t-if="answers">
+ <a t-att-href="'#id='+id+'&view_type=form&model=faq.question'" >
+ <t t-esc="title"/>
+ </a>
+ <ul t-if="answers!=''">
<li t-foreach="answers" t-as="answer" class="bullet">
<t t-call="answer_template.sub">
<t t-set="title" t-value="answer.name"/>