From 60bbce2e53b02f4c408dddb5d2126f77604cdebd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre=20K=C3=BChn?= Date: Wed, 7 Mar 2018 15:34:14 +0100 Subject: [FIX] mail: nocontent helper discuss (inbox & starred) Revision on https://github.com/odoo/odoo/commit/a87d761fdbf345ada5dc93e0a686b08a0f5a0417 From the UX/UI changes above, we also changed the style for empty inbox and starred in Discuss. There are two issues with the empty boxes message: 1. The text is not centered at all (one word per line, and everything is stuck on the left-side of the screen) 2. The style is inconsistent with nocontent message on search In this commit, inbox and starred use the same style as the no_content message from a search. The style of the nocontent from a search has been slightly changed to mimick the intended style for inbox and starred: - centered text - title is in bold 125% font size - other text is not in bold, 115% font size. --- addons/mail/static/src/xml/thread.xml | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'addons/mail/static/src/xml/thread.xml') diff --git a/addons/mail/static/src/xml/thread.xml b/addons/mail/static/src/xml/thread.xml index b5f8a1c7849..26c093c3e84 100644 --- a/addons/mail/static/src/xml/thread.xml +++ b/addons/mail/static/src/xml/thread.xml @@ -110,18 +110,14 @@
-
-
- -

Congratulations, your inbox is empty

-

New messages appear here.

-
- -

No starred message

-

You can mark any message as 'starred', and it shows up in this channel.

-
-
-
+ +
Congratulations, your inbox is empty
+
New messages appear here.
+
+ +
No starred message
+
You can mark any message as 'starred', and it shows up in this channel.
+
-- cgit v1.2.3