diff options
| author | Alexandre Kühn <aku@odoo.com> | 2018-02-15 17:36:52 +0100 |
|---|---|---|
| committer | Alexandre Kühn <aku@odoo.com> | 2018-02-16 10:23:01 +0100 |
| commit | aa8745f1a811fffd339277ad5a43d3accf86fe34 (patch) | |
| tree | ea670c2e8f7af17d5ab2607b048a05428246cfcb /addons/mail/static/src/xml/thread.xml | |
| parent | 4c186f30c3a77e661f0dfdd39fe2c1216ef1ac7b (diff) | |
[FIX] web,*: various nocontent helper fixes
* account, board, hr_holidays, mail, sale, website_sale
Small fixes on nocontent onboarding screens.
Initial commit: https://github.com/odoo/odoo/commit/a87d761fdbf345ada5dc93e0a686b08a0f5a0417
Details:
- list: centered;
- pivot/graph: centered + empty folder face;
- Dashboard app with nocontent helper;
- Discuss inbox/starred: centered without neutral/smiling faces;
=> no faces because it's too much with animated
rainbow man when emptying the any of the boxes.
- hr_holidays: fixed onboarding screens;
- (technical) dropped obsolete 'o_view_nocontent_container' style;
- manual reconciliation 'nothing to reconcile': centered + inside form sheet;
=> renamed account's o_view_nocontent to o_view_noreconciliation,
so that it doesn't use the style of views.less.
- kanban: nocontent helper above the columns (if any);
- texts "no order to upsell"/"abandonned cart" paragraph split in two.
Diffstat (limited to 'addons/mail/static/src/xml/thread.xml')
| -rw-r--r-- | addons/mail/static/src/xml/thread.xml | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/addons/mail/static/src/xml/thread.xml b/addons/mail/static/src/xml/thread.xml index 611b3a3997a..4a7ba086ebf 100644 --- a/addons/mail/static/src/xml/thread.xml +++ b/addons/mail/static/src/xml/thread.xml @@ -104,22 +104,18 @@ </t> <!-- When a channel is empty--> - <div t-name="mail.EmptyChannel" class="o_mail_no_content o_view_nocontent_container"> + <div t-name="mail.EmptyChannel" class="o_mail_no_content"> <div class="o_view_nocontent"> - <t t-if="options.channel_id==='channel_inbox'"> - <p class="o_view_nocontent_smiling_face"> - Congratulations, your inbox is empty - </p><p> - New messages appear here. - </p> - </t> - <t t-if="options.channel_id==='channel_starred'"> - <p class="o_view_nocontent_neutral_face"> - No starred message - </p><p> - You can mark any message as 'starred', and it shows up in this channel. - </p> - </t> + <div class="o_nocontent_help"> + <t t-if="options.channel_id==='channel_inbox'"> + <p>Congratulations, your inbox is empty</p> + <p>New messages appear here.</p> + </t> + <t t-if="options.channel_id==='channel_starred'"> + <p>No starred message</p> + <p>You can mark any message as 'starred', and it shows up in this channel.</p> + </t> + </div> </div> </div> |
