[FIX] css tweak

bzr revid: mat@openerp.com-20130422154122-yv99mjhpcrn7dwd4
This commit is contained in:
Martin Trigaux
2013-04-22 17:41:22 +02:00
parent 021c8de63f
commit c1d645e2cd
2 changed files with 6 additions and 9 deletions
+2 -2
View File
@@ -78,7 +78,7 @@
text-transform: capitalize;
line-height: 1em;
}
/* mark goal as completed */
.openerp .oe_mail_wall_aside .oe_gamification_goal .oe_goal_reached {
text-decoration: line-through;
color: rgb(138, 137, 137);
@@ -150,7 +150,7 @@
visibility: hidden;
font-size: 25px;
}
.openerp .oe_mail_wall .oe_mail_wall_aside .oe_clear:hover .oe_update_plan,
.openerp .oe_mail_wall .oe_mail_wall_aside .oe_goal div:hover > .oe_update_plan,
.openerp .oe_mail_wall .oe_mail_wall_aside .oe_goal_inner_box:hover .oe_goal_action {
visibility: visible;
}
@@ -6,16 +6,13 @@
<t t-name="gamification.goal_list_to_do">
<h3>Challenges</h3>
<div t-foreach="widget.goals_info.info" t-as="plan" class="oe_goal">
<div class="oe_clear">
<div class="oe_left">
<h4><t t-esc="plan.name" /></h4>
</div>
<div class="oe_left">
<a class="oe_update_plan oe_e" rol="button" t-attf-id="{plan.id}">e</a>
</div>
<div>
<h4 style="display:inline-block;"><t t-esc="plan.name" /></h4>
<a class="oe_update_plan oe_e" rol="button" t-attf-id="{plan.id}">e</a>
</div>
<t t-if="plan.visibility_mode == 'progressbar'">
<div class="oe_goals_list">
<div t-attf-class="#{goal.type_display == 'progress' ? 'oe_goal_outer_box' : ''}" t-foreach="plan.goals" t-as="goal" t-attf-style="#{goal.type_display == 'progress' ? 'width: '+goal.completeness+'%;' : ''}">
<div class="oe_goal_inner_box">