From ccc8069a4c13c8833e4e88bc9bda15af5dad6e3d Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Mon, 12 Nov 2012 19:39:19 +0100 Subject: [PATCH] [IMP] style of empty mail boxes bzr revid: fp@tinyerp.com-20121112183919-oh8ccaz2w3nnvf2h --- addons/mail/mail_thread_view.xml | 30 +++++++++++++---------------- addons/mail/static/src/js/mail.js | 2 +- addons/mail/static/src/xml/mail.xml | 2 +- 3 files changed, 15 insertions(+), 19 deletions(-) diff --git a/addons/mail/mail_thread_view.xml b/addons/mail/mail_thread_view.xml index b568cacfa53..9e6a9ad1feb 100644 --- a/addons/mail/mail_thread_view.xml +++ b/addons/mail/mail_thread_view.xml @@ -21,12 +21,11 @@ }""/>

- Hurray! No message here! + Good Job! Your inbox is empty.

- Congratulations! You have processed all your incoming emails. - Remember that when you receive new messages, you can either - set them as done, or use the star button to send those messages - into your Todo mailbox. + Your inbox contains private messages or emails sent to you + as well as information related to documents or people you + follow.

@@ -46,12 +45,9 @@ 'read_action': 'read', }""/>

- No message here! + No private message.

- There are no new messages matching the current search - that were directly sent to you. - Remember you can always uncheck the Read filter to see - messages sent to you that you already read. + This list contains messages sent to you.

@@ -71,12 +67,9 @@ 'read_action': 'read', }""/>

- Hurray! No message here! + You did it!

- Congratulations! You have processed all your messages in - your todo list, or at least those matching your search. - Remember you can always search for read messages by - unchecking the Read filter. + No more todo.

@@ -95,7 +88,7 @@ 'read_action': 'unread', }""/>

- There are no message for this search. + No message found.

@@ -112,7 +105,10 @@ 'view_mailbox': True, }""/>

- There are no message for this search. + No message sent yet. +

+ Click on the top-right icon to compose a message. This + message will be sent by email if it's an internal contact.

diff --git a/addons/mail/static/src/js/mail.js b/addons/mail/static/src/js/mail.js index d951a09cbb5..e214168cb25 100644 --- a/addons/mail/static/src/js/mail.js +++ b/addons/mail/static/src/js/mail.js @@ -1281,7 +1281,7 @@ openerp.mail = function (session) { this.compose_message.do_show_compact(); } - this.$('.oe_wall_no_message').remove(); + this.$('.oe_view_nocontent').remove(); if (dom_insert_after) { diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml index c868319c58e..2ba1733043a 100644 --- a/addons/mail/static/src/xml/mail.xml +++ b/addons/mail/static/src/xml/mail.xml @@ -163,7 +163,7 @@ display message on the wall when there are no message --> -
You have no messages
+
No messages.