From 83f15b73630a202d250db8d19283bb9bf6435e0b Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Mon, 30 Jul 2012 09:52:10 +0200 Subject: [PATCH] small_layout_change_in_wall bzr revid: fp@openerp.com-20120730075210-mdzu549s018i72rz --- addons/mail/static/src/js/mail.js | 8 ++++---- addons/mail/static/src/xml/mail.xml | 21 +++++++++++---------- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/addons/mail/static/src/js/mail.js b/addons/mail/static/src/js/mail.js index f488225d8b6..0f50cbb1549 100644 --- a/addons/mail/static/src/js/mail.js +++ b/addons/mail/static/src/js/mail.js @@ -521,7 +521,7 @@ openerp.mail = function(session) { this.params.parent_id = this.params.parent_id || false; this.params.thread_level = this.params.thread_level || 0; this.params.is_wall = this.params.is_wall || (this.params.records != undefined) || false; - this.params.msg_more_limit = this.params.msg_more_limit || 150; + this.params.msg_more_limit = this.params.msg_more_limit || 250; this.params.limit = this.params.limit || 100; // this.params.limit = 3; // tmp for testing this.params.offset = this.params.offset || 0; @@ -758,11 +758,11 @@ openerp.mail = function(session) { // expand feature this.$element.find('div.oe_mail_msg_body:last').expander({ slicePoint: this.params.msg_more_limit, - expandText: 'see more', - userCollapseText: 'see less', + expandText: 'read more', + userCollapseText: '[^]', detailClass: 'oe_mail_msg_tail', moreClass: 'oe_mail_expand', - lesClass: 'oe_mail_reduce', + lessClass: 'oe_mail_reduce', }); }, diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml index bf8d7fd1475..86d115f29c8 100644 --- a/addons/mail/static/src/xml/mail.xml +++ b/addons/mail/static/src/xml/mail.xml @@ -33,7 +33,7 @@
- +
@@ -129,7 +129,7 @@
  • Delete
  • -
  • Remove from Wall
  • +
  • Hide
  • - Attachment - Attachments () + 1 Attachment + Attachments