summaryrefslogtreecommitdiff
path: root/addons/gamification/static/src
diff options
context:
space:
mode:
authorMartin Trigaux <mat@openerp.com>2013-04-26 18:16:13 +0200
committerMartin Trigaux <mat@openerp.com>2013-04-26 18:16:13 +0200
commit87c1fab873ed246fb5f3152377a82bad49c8a982 (patch)
tree33e6873f1fecb48df2dcd8b93d5845fa4b30a98d /addons/gamification/static/src
parent9c0936e6582f3aa117f721219f9dff17712245fd (diff)
[IMP] remove inner_box block
bzr revid: mat@openerp.com-20130426161613-4mxh5f25yjc8ogl8
Diffstat (limited to 'addons/gamification/static/src')
-rw-r--r--addons/gamification/static/src/xml/gamification.xml7
1 files changed, 3 insertions, 4 deletions
diff --git a/addons/gamification/static/src/xml/gamification.xml b/addons/gamification/static/src/xml/gamification.xml
index 62476c9a366..97b69453490 100644
--- a/addons/gamification/static/src/xml/gamification.xml
+++ b/addons/gamification/static/src/xml/gamification.xml
@@ -17,7 +17,7 @@
<div class="oe_goal_progress_background"></div>
<div class="oe_goal_progress" t-attf-style="#{goal.type_display == 'progress' ? 'width: '+goal.completeness+'%;' : 'width:0;'}"></div>
</t>
- <div t-attf-class="oe_goal_inner_box">
+
<t t-if="goal.type_display == 'progress'">
<div class="oe_cell oe_goal_current"><t t-esc="goal.current" /></div>
</t>
@@ -39,7 +39,6 @@
<t t-if="goal.type_unit"><t t-esc="goal.type_unit"/></t>)
</t>
</div>
- </div>
</div>
</div>
</t>
@@ -67,7 +66,7 @@
<div class="oe_goal_progress_background"></div>
<div class="oe_goal_progress" t-attf-style="#{planline.type_display == 'progress' ? 'width: '+goal.completeness+'%;' : 'width:0;'}"></div>
</t>
- <div class="oe_goal_inner_box">
+
<div class="oe_cell col0"><t t-esc="goal.rank" /></div>
<div class="oe_cell col1"><img class="oe_user_avatar" t-attf-alt="#{goal.user_name}" t-attf-data-id="#{goal.user_id}"/></div>
<div class="oe_cell col2">
@@ -82,7 +81,7 @@
</a>
</t>
</div>
- </div>
+
</div>
</div>
</div>