Author: jacopoc
Date: Wed Nov 5 07:57:42 2008
New Revision: 711593
URL:
http://svn.apache.org/viewvc?rev=711593&view=revLog:
Improved header alignment for the simple report builder screen in the BI component.
Modified:
ofbiz/trunk/framework/bi/webapp/bi/reportbuilder/RenderStarSchemaReport.ftl
Modified: ofbiz/trunk/framework/bi/webapp/bi/reportbuilder/RenderStarSchemaReport.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/bi/webapp/bi/reportbuilder/RenderStarSchemaReport.ftl?rev=711593&r1=711592&r2=711593&view=diff==============================================================================
--- ofbiz/trunk/framework/bi/webapp/bi/reportbuilder/RenderStarSchemaReport.ftl (original)
+++ ofbiz/trunk/framework/bi/webapp/bi/reportbuilder/RenderStarSchemaReport.ftl Wed Nov 5 07:57:42 2008
@@ -19,8 +19,9 @@
<table cellspacing="0" class="basic-table hover-bar">
<tr class="header-row">
+ <#assign firstRecord = records[0]?if_exists/>
<#list columnNames as columnName>
- <td>
+ <td<#if firstRecord?exists && firstRecord[columnName]?default("")?is_number> class="align-text"</#if>>
${columnName}
</td>
</#list>