summaryrefslogtreecommitdiff
path: root/addons/gamification/static/src
diff options
context:
space:
mode:
authorMartin Trigaux <mat@openerp.com>2013-04-19 17:48:17 +0200
committerMartin Trigaux <mat@openerp.com>2013-04-19 17:48:17 +0200
commit4fb6e9b682901e02e615936c75bbe8ca6cee8b8b (patch)
tree997b4185be29823e9dad6d6943c9bc2b55af993c /addons/gamification/static/src
parent263124a6f3287934b8e17f89a7f72720a4404e12 (diff)
[IMP] display user's badges on employee
bzr revid: mat@openerp.com-20130419154817-rq09s1f5nl6ryhka
Diffstat (limited to 'addons/gamification/static/src')
-rw-r--r--addons/gamification/static/src/css/goal.css5
-rw-r--r--addons/gamification/static/src/xml/gamification.xml2
2 files changed, 2 insertions, 5 deletions
diff --git a/addons/gamification/static/src/css/goal.css b/addons/gamification/static/src/css/goal.css
index d8f4f7ca3fe..e481a800c79 100644
--- a/addons/gamification/static/src/css/goal.css
+++ b/addons/gamification/static/src/css/goal.css
@@ -107,12 +107,9 @@
.openerp .oe_mail_wall .oe_mail_wall_aside .oe_user_avatar { width: 32px; }
+/* background progress bar */
.openerp .oe_mail_wall .oe_mail_wall_aside .oe_goal_progress {
background: rgb(173, 219, 178);
-/* background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QQSDDgQbtbJfgAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAAAMSURBVAjXY2jY2AoAA2sBt0HZbqoAAAAASUVORK5CYII=);
- background-image: url("http://lorempixel.com/20/10/");
- background-repeat: repeat-y;
- background-position: 0 50%;*/
}
.openerp .oe_mail_wall .oe_mail_wall_aside table progress,.oe_form_field_progressbar {
width: 100%;
diff --git a/addons/gamification/static/src/xml/gamification.xml b/addons/gamification/static/src/xml/gamification.xml
index 29114897153..c6946d6397d 100644
--- a/addons/gamification/static/src/xml/gamification.xml
+++ b/addons/gamification/static/src/xml/gamification.xml
@@ -51,7 +51,7 @@
</thead>
<tbody>
<tr t-foreach="planline.goals" t-as="goal" t-attf-class="#{goal.id == planline.own_goal_id ? 'oe_bold' : ''}">
- <div style="background:#fff;">
+ <div style="background: #fff;">
<th class="col0"><t t-esc="goal.rank" /></th>
<td class="col1"><img class="oe_user_avatar" t-attf-alt="#{goal.user_name}" t-attf-data-id="#{goal.user_id}"/></td>
<td class="col2" style="width:150px;">