You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2007/03/11 12:07:43 UTC

svn commit: r516887 - in /ofbiz/trunk/applications/manufacturing/webapp/manufacturing: bom/BomSimulation.ftl images/

Author: jacopoc
Date: Sun Mar 11 04:07:42 2007
New Revision: 516887

URL: http://svn.apache.org/viewvc?view=rev&rev=516887
Log:
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">&nbsp;&nbsp;</td>
+              </#list>
+              </tr>
+              </table>
+              </td>
               <td>${node.product.productId}</td>
               <td>
                 <#if node.product.isVirtual?default("N") == "Y">