diff options
| author | Martin Trigaux <mat@openerp.com> | 2013-03-22 16:41:30 +0100 |
|---|---|---|
| committer | Martin Trigaux <mat@openerp.com> | 2013-03-22 16:41:30 +0100 |
| commit | 0b0ecfa3f8474480e850fec7a64c6cd5207054e6 (patch) | |
| tree | 4917f5aee0ffa81959eae899060589ccb44783cb /addons/gamification/static/src | |
| parent | 391947f7cc94c237d05f970872fdbec02f56fc65 (diff) | |
[IMP] css width for kanban badge
bzr revid: mat@openerp.com-20130322154130-nmudmkp5vskcgxol
Diffstat (limited to 'addons/gamification/static/src')
| -rw-r--r-- | addons/gamification/static/src/css/goal.css | 5 | ||||
| -rw-r--r-- | addons/gamification/static/src/xml/gamification.xml | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/addons/gamification/static/src/css/goal.css b/addons/gamification/static/src/css/goal.css index e6bc4acf14c..d1eb83b161c 100644 --- a/addons/gamification/static/src/css/goal.css +++ b/addons/gamification/static/src/css/goal.css @@ -1,6 +1,7 @@ /* Kanban views */ -.openerp .oe_notebook_page .oe_kanban_view .oe_kanban_card.oe_kanban_goal { - width: 190px; +.openerp .oe_notebook_page .oe_kanban_view .oe_kanban_card.oe_kanban_goal, +.openerp .oe_kanban_view .oe_kanban_card.oe_kanban_badge { + width: 220px; } .openerp .oe_kanban_view .oe_kanban_card.oe_kanban_color_reached { background-color: #A1FF81; diff --git a/addons/gamification/static/src/xml/gamification.xml b/addons/gamification/static/src/xml/gamification.xml index 5ce77e9835c..8e548c17bfe 100644 --- a/addons/gamification/static/src/xml/gamification.xml +++ b/addons/gamification/static/src/xml/gamification.xml @@ -9,9 +9,10 @@ <li t-foreach="plan.goals" t-as="goal"> <strong t-attf-class="#{goal.state == 'reached' ? 'oe_goal_reached' : goal.state == 'failed' ? 'oe_goal_failed' : ''}"> <t t-esc="goal.type_name" /> + <a class="oe_">?</a> </strong> <t t-if="goal.type_description"> - <p><t t-esc="goal.type_description" /></p> + <p class="oe_type_description"><t t-esc="goal.type_description" /></p> </t> <p> <t t-if="goal.type_condition == 'higher'"> |
