summaryrefslogtreecommitdiff
path: root/addons/gamification/static/src/xml
diff options
context:
space:
mode:
authorMartin Trigaux <mat@openerp.com>2013-04-29 17:30:07 +0200
committerMartin Trigaux <mat@openerp.com>2013-04-29 17:30:07 +0200
commit0ea12d6d918b8bcecb9125272ae7fd31f94b7827 (patch)
treeb6e8a184cbd3bc1db5af87d170437432e9be3ff8 /addons/gamification/static/src/xml
parent7a242c991ad1973cfc461cadf4a5f7544cc78d74 (diff)
[IMP] design tweaks
bzr revid: mat@openerp.com-20130429153007-tha1wmcvbtp89dz2
Diffstat (limited to 'addons/gamification/static/src/xml')
-rw-r--r--addons/gamification/static/src/xml/gamification.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/gamification/static/src/xml/gamification.xml b/addons/gamification/static/src/xml/gamification.xml
index 9b02005db0f..1b47f2918d5 100644
--- a/addons/gamification/static/src/xml/gamification.xml
+++ b/addons/gamification/static/src/xml/gamification.xml
@@ -60,7 +60,7 @@
</div>
</div>
<div t-foreach="planline.goals" t-as="goal" t-attf-class="#{goal.id == planline.own_goal_id ? 'oe_bold' : ''}">
- <div t-attf-class="oe_row oe_goal_outer_box #{goal.state == 'reached' ? 'oe_goal_reached' : ''}">
+ <div t-attf-class="oe_row oe_goal_outer_box #{goal.state == 'reached' ? 'oe_goal_reached' : ''} #{planline.type_display != 'progress' ? 'oe_no_progress' : ''}">
<t t-if="planline.type_display == 'progress'">
<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>
@@ -69,9 +69,9 @@
<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">
- <t t-if="planline.type_display == 'progress'"><br/>
+ <t t-if="planline.type_display == 'progress'">
<!-- progress, action on current value -->
- <t t-esc="goal.user_name"/>
+ <t t-esc="goal.user_name"/><br/>
<t t-if="goal.id != planline.own_goal_id or (planline.computation_mode != 'manually' and !planline.type_action)">
<span t-attf-class="#{planline.type_monetary ? 'oe_goal_field_monetary' : ''}"><t t-esc="goal.current" /></span><t t-if="planline.type_unit"> <t t-esc="planline.type_unit"/></t>
</t>