summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorAlexandre Kühn <aku@odoo.com>2018-02-15 17:36:52 +0100
committerAlexandre Kühn <aku@odoo.com>2018-02-16 10:23:01 +0100
commitaa8745f1a811fffd339277ad5a43d3accf86fe34 (patch)
treeea670c2e8f7af17d5ab2607b048a05428246cfcb /addons/web/static/src/xml/base.xml
parent4c186f30c3a77e661f0dfdd39fe2c1216ef1ac7b (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/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml22
1 files changed, 13 insertions, 9 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 196346d4d9c..ed9709d2c4c 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -488,8 +488,10 @@
</div>
</t>
<div t-name="GraphView.error" class="o_view_nocontent" >
- <p class="o_view_nocontent_empty_folder"><t t-esc="title"/></p>
- <p><t t-esc="description"/></p>
+ <div class="o_nocontent_help">
+ <p class="o_view_nocontent_empty_folder"><t t-esc="title"/></p>
+ <p><t t-esc="description"/></p>
+ </div>
</div>
<div t-name="PivotView" class="o_pivot">
@@ -539,14 +541,16 @@
</t>
</ul>
</t>
-<div t-name="PivotView.nodata" class="o_view_nocontent_container" >
+<div t-name="PivotView.nodata">
<div class="o_view_nocontent">
- <p class="o_view_nocontent_empty_folder">
- No data to display
- </p><p>
- Try to add some records, or make sure
- that there is at least one measure and no active filter in the search bar.
- </p>
+ <div class="o_nocontent_help">
+ <p class="o_view_nocontent_empty_folder">
+ No data to display
+ </p><p>
+ Try to add some records, or make sure
+ that there is at least one measure and no active filter in the search bar.
+ </p>
+ </div>
</div>
</div>