From fe3ea1edeeccb6f5ab2b90bc3266c59df979b880 Mon Sep 17 00:00:00 2001 From: Minh Tran Date: Wed, 18 Jul 2012 16:27:54 +0200 Subject: [PATCH 1/4] improved style of kanban vignette dropdown menu bzr revid: mit@openerp.com-20120718142754-am1qcstc9zum2565 --- addons/project/project_view.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/addons/project/project_view.xml b/addons/project/project_view.xml index dbc4007bf8c..2b2fee04bf9 100644 --- a/addons/project/project_view.xml +++ b/addons/project/project_view.xml @@ -529,8 +529,12 @@
  • 10
  • !
  • +
    + +
  • +
      +
      -
    • From 02f764e14c96c4fb7c2c917f14455337506b7016 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Thu, 9 Aug 2012 16:53:47 +0200 Subject: [PATCH 2/4] fix bzr revid: fp@tinyerp.com-20120809145347-r0832h18kff3t1x8 --- addons/project/project_view.xml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/addons/project/project_view.xml b/addons/project/project_view.xml index d28a518dff3..199dd5f712d 100644 --- a/addons/project/project_view.xml +++ b/addons/project/project_view.xml @@ -531,12 +531,8 @@
    • 10
    • !
    -
    -
  • -
  • -
      -
      +
    • From 307795aed70332afdb262302abfb72123fa70a13 Mon Sep 17 00:00:00 2001 From: Minh Tran Date: Thu, 9 Aug 2012 19:03:33 +0200 Subject: [PATCH 3/4] visual improvement to avatar and dropdown menu in mail module bzr revid: mit@openerp.com-20120809170333-zxmyhvkxl30zl724 --- addons/mail/static/src/css/mail.css | 2 +- addons/mail/static/src/xml/mail.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/mail/static/src/css/mail.css b/addons/mail/static/src/css/mail.css index c0317633aa7..f07568ee082 100644 --- a/addons/mail/static/src/css/mail.css +++ b/addons/mail/static/src/css/mail.css @@ -70,7 +70,7 @@ width: 486px; } -.openerp div.oe_mail_msg_content li { +.openerp div.oe_mail_msg_content > li { float: left; margin-right: 3px; } diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml index 86d115f29c8..0bdd9fc5913 100644 --- a/addons/mail/static/src/xml/mail.xml +++ b/addons/mail/static/src/xml/mail.xml @@ -121,7 +121,7 @@
    • - +
      From 687e25a7fc9af2121da924047095f6c4fbbd2aee Mon Sep 17 00:00:00 2001 From: Minh Tran Date: Fri, 10 Aug 2012 14:47:54 +0200 Subject: [PATCH 4/4] more visual improvements to mail module bzr revid: mit@openerp.com-20120810124754-78ui3odg5d5odi20 --- addons/mail/static/src/css/mail.css | 5 +++++ addons/mail/static/src/js/mail.js | 4 +--- addons/mail/static/src/xml/mail.xml | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/addons/mail/static/src/css/mail.css b/addons/mail/static/src/css/mail.css index f07568ee082..502602a5fb8 100644 --- a/addons/mail/static/src/css/mail.css +++ b/addons/mail/static/src/css/mail.css @@ -345,6 +345,11 @@ color: #888; } +.openerp .oe_mail_msg_footer li { + float: left; + margin-right: 3px; +} + .openerp .oe_mail_msg_body { margin-bottom: .5em; text-align: justify; diff --git a/addons/mail/static/src/js/mail.js b/addons/mail/static/src/js/mail.js index da6816d3441..96b4f2882f3 100644 --- a/addons/mail/static/src/js/mail.js +++ b/addons/mail/static/src/js/mail.js @@ -857,9 +857,7 @@ openerp.mail = function(session) { this.$element.find('button.oe_mail_button_followers').click(function () { self.do_toggle_followers(); }); if (! this.params.see_subscribers_options) { this.$element.find('button.oe_mail_button_followers').hide(); } - this.$element.find('button.oe_mail_button_follow').click(function () { self.do_follow(); }) - .mouseover(function () { $(this).html('Follow').removeClass('oe_mail_button_mouseout').addClass('oe_mail_button_mouseover'); }) - .mouseleave(function () { $(this).html('Not following').removeClass('oe_mail_button_mouseover').addClass('oe_mail_button_mouseout'); }); + this.$element.find('button.oe_mail_button_follow').click(function () { self.do_follow(); }); this.$element.find('button.oe_mail_button_unfollow').click(function () { self.do_unfollow(); }) .mouseover(function () { $(this).html('Unfollow').removeClass('oe_mail_button_mouseout').addClass('oe_mail_button_mouseover'); }) .mouseleave(function () { $(this).html('Following').removeClass('oe_mail_button_mouseover').addClass('oe_mail_button_mouseout'); }); diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml index 0bdd9fc5913..408bdc5e440 100644 --- a/addons/mail/static/src/xml/mail.xml +++ b/addons/mail/static/src/xml/mail.xml @@ -60,7 +60,7 @@
      - +