summaryrefslogtreecommitdiff
path: root/addons/gamification/static/src/xml
diff options
context:
space:
mode:
authorMartin Trigaux <mat@openerp.com>2013-03-26 17:43:15 +0100
committerMartin Trigaux <mat@openerp.com>2013-03-26 17:43:15 +0100
commit6674de3e04d258d9408034f15270ac98f4e31c9e (patch)
treebdda48cb25c3a193ebe34421886cf3532f0ceeb6 /addons/gamification/static/src/xml
parent635df4028a8cf9d5185e31d21df67daf609506b3 (diff)
[IMP] better css
bzr revid: mat@openerp.com-20130326164315-c917of9zp771loz0
Diffstat (limited to 'addons/gamification/static/src/xml')
-rw-r--r--addons/gamification/static/src/xml/gamification.xml8
1 files changed, 6 insertions, 2 deletions
diff --git a/addons/gamification/static/src/xml/gamification.xml b/addons/gamification/static/src/xml/gamification.xml
index bbd005e5c2a..31664f4c4f4 100644
--- a/addons/gamification/static/src/xml/gamification.xml
+++ b/addons/gamification/static/src/xml/gamification.xml
@@ -37,7 +37,8 @@
</ul>
</t>
<t t-if="plan.visibility_mode == 'board'">
- <table width="100%" border="1" t-foreach="plan.planlines" t-as="planline">
+ <table width="100%" border="1" t-foreach="plan.planlines" t-as="planline" class="oe_list_content">
+ <thead>
<tr>
<th colspan="4" t-attf-title="#{planline.type_description ? planline.type_description : ''}">
<t t-esc="planline.type_name"/>
@@ -52,8 +53,10 @@
<th>compl.</th>
<th>Current</th>
</tr>
+ </thead>
+ <tbody>
<tr t-foreach="planline.goals" t-as="goal" t-attf-class="#{goal.completness >= 100 ? 'oe_bold' : ''}">
- <td><t t-esc="goal.rank" /></td>
+ <th><t t-esc="goal.rank" /></th>
<td><t t-esc="goal.user_name" /></td>
<td><progress t-att-value="goal.completeness" max="100" /></td>
<td>
@@ -61,6 +64,7 @@
<t t-if="planline.type_unit"><t t-esc="planline.type_unit"/></t>
</td>
</tr>
+ </tbody>
</table>
</t>
</div>