summaryrefslogtreecommitdiff
path: root/addons/web_dashboard/static/src/xml/web_dashboard.xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web_dashboard/static/src/xml/web_dashboard.xml')
-rw-r--r--addons/web_dashboard/static/src/xml/web_dashboard.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/web_dashboard/static/src/xml/web_dashboard.xml b/addons/web_dashboard/static/src/xml/web_dashboard.xml
index fe96d72855d..87222baa5fd 100644
--- a/addons/web_dashboard/static/src/xml/web_dashboard.xml
+++ b/addons/web_dashboard/static/src/xml/web_dashboard.xml
@@ -30,9 +30,10 @@
</t>
<t t-name="DashBoard.action">
<div t-att-data-id="action.attrs.name" class="oe-dashboard-action">
- <h2 class="oe-dashboard-action-header oe_view_title">
+ <h2 t-attf-class="oe-dashboard-action-header oe_view_title #{action.attrs.string ? '' : 'oe-dashboard-action-header-empty'}">
<input class="oe-dashboard-action-input" type="text" name="title" value="" style="display: none"/>
<t t-esc="action.attrs.string"/>
+ <t t-if="!action.attrs.string">&amp;nbsp;</t>
<span class='ui-icon ui-icon-closethick'></span>
<span class='ui-icon ui-icon-minusthick oe-dashboard-fold' t-if="!action.attrs.fold"></span>
<span class='ui-icon ui-icon-plusthick oe-dashboard-fold' t-if="action.attrs.fold"></span>