summaryrefslogtreecommitdiff
path: root/addons/gamification/static/src/xml/gamification.xml
diff options
context:
space:
mode:
authorMartin Trigaux <mat@openerp.com>2013-04-10 12:14:54 +0200
committerMartin Trigaux <mat@openerp.com>2013-04-10 12:14:54 +0200
commitf70b0017f63fa9baef330e05e67517d2127e798e (patch)
treec43c4a73791d19e5829813665f571213a2cc6b09 /addons/gamification/static/src/xml/gamification.xml
parent4baed41a125cb64a76b09f4f0bbc1a64443dea30 (diff)
[IMP] fixing and UI
bzr revid: mat@openerp.com-20130410101454-nkt8mbt8qb13zrge
Diffstat (limited to 'addons/gamification/static/src/xml/gamification.xml')
-rw-r--r--addons/gamification/static/src/xml/gamification.xml5
1 files changed, 1 insertions, 4 deletions
diff --git a/addons/gamification/static/src/xml/gamification.xml b/addons/gamification/static/src/xml/gamification.xml
index 9dfebe14f62..3a068dab045 100644
--- a/addons/gamification/static/src/xml/gamification.xml
+++ b/addons/gamification/static/src/xml/gamification.xml
@@ -10,14 +10,11 @@
<t t-if="plan.visibility_mode == 'progressbar'">
<ul class="oe_goals_list">
<li t-foreach="plan.goals" t-as="goal">
+ <span class="oe_goal_sparkline_piechart"></span>
<strong t-attf-class="#{goal.state == 'reached' ? 'oe_goal_reached' : goal.state == 'failed' ? 'oe_goal_failed' : ''}" t-att-title="goal.type_description"><t t-esc="goal.type_name" /></strong>
<t t-if="goal.computation_mode == 'manually' or goal.type_action">
<a class="oe_goal_action" t-att-id="goal.id">modify</a>
</t>
- <!-- <t t-if="goal.type_description">
- <a class="oe_show_description" t-att-id="goal.id">?</a>
- <p t-att-class="'oe_type_description oe_type_description_' + goal.id"><t t-esc="goal.type_description" /></p>
- </t> -->
<t t-if="goal.type_condition == 'higher'">
<p>
<t t-esc="goal.current" />/<span t-attf-class="#{goal.type_monetary ? 'oe_goal_field_monetary' : ''}"><t t-esc="goal.target_goal"/></span>