projects
/
OpenERP
/
faq.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dcaaa9e
)
Mise en page des vues KANBAN
author
Alicia FLOREZ
<alicflorez@gmail.com>
Wed, 22 May 2013 08:43:51 +0000
(10:43 +0200)
committer
Alicia FLOREZ
<alicflorez@gmail.com>
Wed, 22 May 2013 08:43:51 +0000
(10:43 +0200)
views/faq_view.xml
patch
|
blob
|
history
diff --git
a/views/faq_view.xml
b/views/faq_view.xml
index
d494576
..
bd3daaf
100644
(file)
--- a/
views/faq_view.xml
+++ b/
views/faq_view.xml
@@
-40,12
+40,11
@@
</div>
<div t-attf-class="oe_kanban_content faq_question_content">
</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" />
<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">
<ul t-if="record.question_items.value">
<li t-foreach="record.question_items.value" t-as="question" t-att-class="question_parity">
@@
-75,16
+74,18
@@
<p t-if="answers == ''">Pas de réponse pour cette question.</p>
</t>
<t t-name="answer2_template.sub">
<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">
</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">
<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>
</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>
</t>
</templates>
</kanban>
@@
-128,10
+129,11
@@
<div t-attf-class="oe_kanban_content">
<h2><field name="name" /></h2>
<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" />
<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">
<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">
@@
-142,13
+144,12
@@
</li>
</ul>
</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">
</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>
</t>
</templates>
</kanban>