[MERGE] MyNotChatterTask: image resize.

This revision adds standard image field names and sizes (image: 1024x1024; image_medium: 180x180; image_small: 50x50, the last two being function fields). This web-side branch holds the field name change for the topbar avatar. It also adds 2 CSS classes when using images: oe_image_small and oe_image_medium, that fix the max-width and mex-height to respectively 50x50 and 180x180 px.
Misc :
- deleted oe_kanban_gravatar CSS class
- renamed oe_kanban_avatar_toto to oe_kanban_avatar_smallbox; this class is used only in res.partner form view, for child partners.

bzr revid: tde@openerp.com-20120807131300-i6helnvao10o0go7
This commit is contained in:
Thibault Delavallée
2012-08-07 15:13:00 +02:00
5 changed files with 17 additions and 20 deletions
+8
View File
@@ -509,6 +509,14 @@
.openerp .oe_avatar + div {
margin-left: 5px;
}
.openerp .oe_image_small > img {
max-width: 50px;
max-height: 50px;
}
.openerp .oe_image_medium > img {
max-width: 180px;
max-height: 180px;
}
.openerp .oe_button.oe_link {
border: none;
padding: 0;