From 40b1c95e1a0932f4d1f87bf9894a169b2c9e57ff Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Thu, 20 Dec 2012 13:31:22 +0100 Subject: [IMP]mail: display checkbox for allow to add email (from email_from value) for creating partner and send email to this new partners. bzr revid: chm@openerp.com-20121220123122-qsqn8w97t1tre3cq --- addons/mail/static/src/css/mail.css | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'addons/mail/static/src/css') diff --git a/addons/mail/static/src/css/mail.css b/addons/mail/static/src/css/mail.css index e154e285f39..886199a668b 100644 --- a/addons/mail/static/src/css/mail.css +++ b/addons/mail/static/src/css/mail.css @@ -253,6 +253,14 @@ .openerp .oe_mail .oe_msg_composer .oe_msg_attachment_list{ display: block; } +.openerp .oe_mail .oe_msg_composer .oe_emails_from label{ + vertical-align: middle; + display: block; + line-height: 16px; +} +.openerp .oe_mail .oe_msg_composer .oe_emails_from input{ + vertical-align: middle; +} .openerp .oe_mail .oe_attachment{ display: inline-block; width: 100px; -- cgit v1.2.3 From 79308644c9b5e571be3d82cc88a826afff2332f4 Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Thu, 20 Dec 2012 15:09:46 +0100 Subject: [IMP] mail follower: allow to remove followers if the user have access to write on the document bzr revid: chm@openerp.com-20121220140946-hqqkz62xyn0oq9g8 --- addons/mail/static/src/css/mail.css | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'addons/mail/static/src/css') diff --git a/addons/mail/static/src/css/mail.css b/addons/mail/static/src/css/mail.css index 886199a668b..c0a28551e5c 100644 --- a/addons/mail/static/src/css/mail.css +++ b/addons/mail/static/src/css/mail.css @@ -586,6 +586,11 @@ margin-right:4px; border-radius: 2px; } +.openerp .oe_followers .oe_remove_follower{ + cursor: pointer; + float: right; + +} /* ---------------- MESSAGES BODY ------------------ */ .openerp .oe_mail .oe_msg_content .oe_blockquote, -- cgit v1.2.3 From 7a1ba3a3d5834d463f41c878555ba53eeaa59394 Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Thu, 20 Dec 2012 16:29:06 +0100 Subject: [IMP] mail follower: add button to show more followers bzr revid: chm@openerp.com-20121220152906-tr3i2jy7uvqyw9vc --- addons/mail/static/src/css/mail.css | 3 +++ 1 file changed, 3 insertions(+) (limited to 'addons/mail/static/src/css') diff --git a/addons/mail/static/src/css/mail.css b/addons/mail/static/src/css/mail.css index c0a28551e5c..f41c5efc8bd 100644 --- a/addons/mail/static/src/css/mail.css +++ b/addons/mail/static/src/css/mail.css @@ -591,6 +591,9 @@ float: right; } +.openerp .oe_followers .oe_show_more{ + cursor: pointer; +} /* ---------------- MESSAGES BODY ------------------ */ .openerp .oe_mail .oe_msg_content .oe_blockquote, -- cgit v1.2.3 From f080e91168861bc2b404a126029f625e1bb84d3e Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Fri, 21 Dec 2012 12:14:00 +0100 Subject: [IMP] mail: add message 'Add this contact's email on recipient and follower' bzr revid: chm@openerp.com-20121221111400-ngc62hepbgzqepy8 --- addons/mail/static/src/css/mail.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'addons/mail/static/src/css') diff --git a/addons/mail/static/src/css/mail.css b/addons/mail/static/src/css/mail.css index f41c5efc8bd..0bcf68d8b6b 100644 --- a/addons/mail/static/src/css/mail.css +++ b/addons/mail/static/src/css/mail.css @@ -253,10 +253,13 @@ .openerp .oe_mail .oe_msg_composer .oe_msg_attachment_list{ display: block; } +.openerp .oe_mail .oe_msg_composer .oe_emails_from{ + font-size: 12px; +} .openerp .oe_mail .oe_msg_composer .oe_emails_from label{ vertical-align: middle; display: block; - line-height: 16px; + line-height: 14px; } .openerp .oe_mail .oe_msg_composer .oe_emails_from input{ vertical-align: middle; -- cgit v1.2.3 From 2b8374f5eadfa0ada2151a179fad5a3879d53a97 Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Fri, 21 Dec 2012 12:23:07 +0100 Subject: [IMP] mail: css for recipient on compose message bzr revid: chm@openerp.com-20121221112307-0hj05yw1nn3l3ux9 --- addons/mail/static/src/css/mail.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'addons/mail/static/src/css') diff --git a/addons/mail/static/src/css/mail.css b/addons/mail/static/src/css/mail.css index 0bcf68d8b6b..dbeb882d570 100644 --- a/addons/mail/static/src/css/mail.css +++ b/addons/mail/static/src/css/mail.css @@ -255,6 +255,7 @@ } .openerp .oe_mail .oe_msg_composer .oe_emails_from{ font-size: 12px; + margin-left: 20px; } .openerp .oe_mail .oe_msg_composer .oe_emails_from label{ vertical-align: middle; @@ -476,8 +477,8 @@ } .openerp .oe_mail .oe_msg_content .oe_mail_list_recipients{ font-size: 12px; - margin-top: 4px; - margin-bottom: 4px; + margin: 4px 0 4px 20px; + text-indent: -20px; } /* ---------------- HIDDEN MESSAGES ------------------ */ -- cgit v1.2.3 From f922d9ea1f8124fe7785d8817397c7284e9ee0fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Fri, 21 Dec 2012 15:40:14 +0100 Subject: [IMP] mail: refactored a bit the code in message_post_user_api, as well as overrides in res_partner and res_users, to use kwargs. Updated mail.js to use kwargs. Updated mail.xml and css to tweak the display. bzr revid: tde@openerp.com-20121221144014-otg03akq4c9grjmz --- addons/mail/static/src/css/mail.css | 1 + 1 file changed, 1 insertion(+) (limited to 'addons/mail/static/src/css') diff --git a/addons/mail/static/src/css/mail.css b/addons/mail/static/src/css/mail.css index dbeb882d570..1efbcfcfcf1 100644 --- a/addons/mail/static/src/css/mail.css +++ b/addons/mail/static/src/css/mail.css @@ -256,6 +256,7 @@ .openerp .oe_mail .oe_msg_composer .oe_emails_from{ font-size: 12px; margin-left: 20px; + margin-bottom: 2px; } .openerp .oe_mail .oe_msg_composer .oe_emails_from label{ vertical-align: middle; -- cgit v1.2.3