Author: rjollos
Date: Mon Mar 17 04:03:23 2014
New Revision: 1578222
URL: http://svn.apache.org/r1578222
Log:
0.8dev: Hide heading if there are no items.
Modified:
bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_cloud.html
Modified:
bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_cloud.html
URL:
http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_cloud.html?rev=1578222&r1=1578221&r2=1578222&view=diff
==============================================================================
---
bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_cloud.html
(original)
+++
bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_cloud.html
Mon Mar 17 04:03:23 2014
@@ -45,7 +45,7 @@
</span>
</py:def>
- <h3 py:if="heading is not None" style="display: inline;">$heading</h3>
+ <h3 py:if="heading is not None and items" style="display:
inline;">$heading</h3>
<py:if test="_view != view">
<xi:include href="widget_alert.html"
py:with="msglabel = 'Warning'; msgbody = 'Unknown view ' + view" />