summaryrefslogtreecommitdiff
path: root/addons/web_dashboard/static/src/xml/web_dashboard.xml
diff options
context:
space:
mode:
authorFabien Meghazi <fme@openerp.com>2011-10-12 12:15:04 +0200
committerFabien Meghazi <fme@openerp.com>2011-10-12 12:15:04 +0200
commitaaee11e85a1f0b340ed79dee9fae1f3ce56b3746 (patch)
tree66ef92da46605bde38943adc5f9af99932e71434 /addons/web_dashboard/static/src/xml/web_dashboard.xml
parent2ec5a68b255f3785766727b6487eb58d78f98e4e (diff)
[IMP] Improved dashboard styling
bzr revid: fme@openerp.com-20111012101504-6xv34uolwizdb7t6
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>