From ad71e2a6809c1a97101cb44160f12bb1daeddfb1 Mon Sep 17 00:00:00 2001 From: Antonin Bourguignon Date: Thu, 21 Jun 2012 18:18:53 +0200 Subject: [PATCH] [ADD] mail.group form view (from tde's branch) bzr revid: abo@openerp.com-20120621161853-0vyfyt8rwdh4v8d0 --- addons/mail/mail_group_view.xml | 36 +++++++++++------------ addons/mail/static/src/css/mail.css | 45 +++++++++++++++++++++++++---- addons/mail/static/src/xml/mail.xml | 6 ++-- 3 files changed, 60 insertions(+), 27 deletions(-) diff --git a/addons/mail/mail_group_view.xml b/addons/mail/mail_group_view.xml index b2b34da8472..371c84b97b3 100644 --- a/addons/mail/mail_group_view.xml +++ b/addons/mail/mail_group_view.xml @@ -1,8 +1,8 @@ - - + + mail.group.kanban mail.group @@ -50,29 +50,29 @@ form -
- + + - - - - - - - - - - - - - +
+ +
diff --git a/addons/mail/static/src/css/mail.css b/addons/mail/static/src/css/mail.css index e9b2b8ebd79..0f1ec8c7dc7 100644 --- a/addons/mail/static/src/css/mail.css +++ b/addons/mail/static/src/css/mail.css @@ -207,11 +207,6 @@ background: white; border-top: 1px solid #ccc; } -.openerp .oe_mail_wall_threads > .oe_mail_wall_thread:first-child > .oe_mail_msg_comment, -.openerp .oe_mail_wall_threads > .oe_mail_wall_thread:first-child > .oe_mail_msg_email, -.openerp .oe_mail_wall_threads > .oe_mail_wall_thread:first-child > .oe_mail_msg_notification { - border-top: 0; -} .openerp .oe_email_icon { width: 50px; @@ -344,6 +339,14 @@ border-top: 4px solid #404040; } +.openerp .oe_mail_msg_footer li:after { + content: " · "; +} + +.openerp .oe_mail_msg_footer li:last-child:after { + content: ""; +} + /* Attachments list */ .openerp ul.oe_mail_msg_attachments { display: none; @@ -359,3 +362,35 @@ padding: 0; list-style-type: square; } + + +/* ------------------------------ */ +/* Group Form */ +/* ------------------------------ */ + +div.oe_mail_group_advanced_details { + display: none; +} + +.oe_form_sheetbg.openerp_mail_group_sheet { + min-height: 0px; + max-height: none; +} + +.oe_form_sheetbg.openerp_mail_group_sheet .oe_form_sheet { + min-height: 0px; + max-height: none; + padding: 0px 18px; + max-width: 80%; +} + +/* Resize group logo */ +.oe_form_sheetbg.openerp_mail_group_sheet .oe_form_field_image > img { + max-width: 100px; + max-height: 100px; +} + +/* Resize group description */ +.oe_form_sheetbg.openerp_mail_group_sheet .oe_form_field_text > textarea { + height: 40px; +} diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml index 7f74f3f5d80..b005a471cdc 100644 --- a/addons/mail/static/src/xml/mail.xml +++ b/addons/mail/static/src/xml/mail.xml @@ -94,10 +94,8 @@

- · - ·

@@ -108,9 +106,9 @@