You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by gj...@apache.org on 2012/05/14 16:01:20 UTC
svn commit: r1338207 -
/incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_grid.html
Author: gjm
Date: Mon May 14 14:01:20 2012
New Revision: 1338207
URL: http://svn.apache.org/viewvc?rev=1338207&view=rev
Log:
dashboard: provide an 'empty' label for grouped-by report views - towards #54 (from olemis)
Modified:
incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_grid.html
Modified: incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_grid.html
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_grid.html?rev=1338207&r1=1338206&r2=1338207&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_grid.html (original)
+++ incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_grid.html Mon May 14 14:01:20 2012
@@ -42,7 +42,12 @@
}${fullrow and 'border: none; padding: 0;' or None}">
<td py:if="use_groups" style="background: none repeat scroll 0 0 #FFFFFF; color: #333333;">
- <py:if test="idx == 0">$value_for_group</py:if>
+ <py:if test="idx == 0 and value_for_group">
+ $value_for_group
+ </py:if>
+ <py:if test="idx == 0 and not value_for_group">
+ <span class="label">empty</span>
+ </py:if>
</td>
<py:for each="cell in cell_group">
<py:if test="not cell.header.hidden">