[IMP] style of empty mail boxes

bzr revid: fp@tinyerp.com-20121112183919-oh8ccaz2w3nnvf2h
This commit is contained in:
Fabien Pinckaers 2012-11-12 19:39:19 +01:00
parent fa16b8910e
commit ccc8069a4c
3 changed files with 15 additions and 19 deletions

View File

@ -21,12 +21,11 @@
}""/>
<field name="help" type="html">
<p>
<b>Hurray! No message here!</b>
<b>Good Job! Your inbox is empty.</b>
</p><p>
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 <i>Todo</i> mailbox.
Your inbox contains private messages or emails sent to you
as well as information related to documents or people you
follow.
</p>
</field>
</record>
@ -46,12 +45,9 @@
'read_action': 'read', }&quot;"/>
<field name="help" type="html">
<p>
No message here!
<b>No private message.</b>
</p><p>
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.
</p>
</field>
</record>
@ -71,12 +67,9 @@
'read_action': 'read', }&quot;"/>
<field name="help" type="html">
<p>
<b>Hurray! No message here!</b>
<b>You did it!</b>
</p><p>
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.
</p>
</field>
</record>
@ -95,7 +88,7 @@
'read_action': 'unread', }&quot;"/>
<field name="help" type="html">
<p>
There are no message for this search.
No message found.
</p>
</field>
</record>
@ -112,7 +105,10 @@
'view_mailbox': True, }&quot;"/>
<field name="help" type="html">
<p>
There are no message for this search.
<b>No message sent yet.</b>
</p><p>
Click on the top-right icon to compose a message. This
message will be sent by email if it's an internal contact.
</p>
</field>
</record>

View File

@ -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) {

View File

@ -163,7 +163,7 @@
display message on the wall when there are no message
-->
<t t-name="mail.wall_no_message">
<div class="oe_wall_no_message">You have no messages</div>
<div class="oe_view_nocontent">No messages.</div>
</t>
<!--