Author: jacopoc
Date: Sun Mar 11 04:07:42 2007
New Revision: 516887
URL:
http://svn.apache.org/viewvc?view=rev&rev=516887Log:
Cleanup the bom simulation screen with better handling of tree levels.
Removed:
ofbiz/trunk/applications/manufacturing/webapp/manufacturing/images/
Modified:
ofbiz/trunk/applications/manufacturing/webapp/manufacturing/bom/BomSimulation.ftl
Modified: ofbiz/trunk/applications/manufacturing/webapp/manufacturing/bom/BomSimulation.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/webapp/manufacturing/bom/BomSimulation.ftl?view=diff&rev=516887&r1=516886&r2=516887==============================================================================
--- ofbiz/trunk/applications/manufacturing/webapp/manufacturing/bom/BomSimulation.ftl (original)
+++ ofbiz/trunk/applications/manufacturing/webapp/manufacturing/bom/BomSimulation.ftl Sun Mar 11 04:07:42 2007
@@ -41,9 +41,17 @@
</tr>
<#if tree?has_content>
<#assign rowClass = "viewManyTR2">
- <#list tree as node>
+ <#list tree as node>
<tr class="${rowClass}">
- <td><img src='/manufacturing/images/depth${node.depth}.gif' height='16' border='0' alt='Depth'></td>
+ <td>
+ <table cellspacing="1"><tr>
+ <td>${node.depth}</td>
+ <#list 0..(node.depth) as level>
+ <td bgcolor="red"> </td>
+ </#list>
+ </tr>
+ </table>
+ </td>
<td>${node.product.productId}</td>
<td>
<#if node.product.isVirtual?default("N") == "Y">