Marco's LabelReferences2.patch from "New tool to get labels information" https://issues.apache.org/jira/browse/OFBIZ-2070 - OFBIZ-2070

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744635 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacques Le Roux
2009-02-15 08:42:06 +00:00
parent b159af592c
commit d5dc2d53ab
9 changed files with 831 additions and 87 deletions
@@ -0,0 +1,24 @@
<div class="screenlet-body">
<#if parameters.searchLabels?exists>
<table class="basic-table hover-bar" cellspacing="3">
<tr class="header-row">
<td>${uiLabelMap.WebtoolsLabelManagerRow}</td>
<td>${uiLabelMap.WebtoolsLabelManagerKey}</td>
<td>${uiLabelMap.WebtoolsLabelManagerReferences}</td>
</tr>
<#assign rowNum = 1>
<#list referencesList as reference>
<#assign labelFound = 'N'>
<#assign refNum = Static["org.ofbiz.webtools.labelmanager.LabelManagerFactory"].getLabelReferenceFile(reference)>
<#if (refNum > 0)>
<tr>
<td>${rowNum}</td>
<td>${reference}</td>
<td>${refNum}</td>
</tr>
<#assign rowNum = rowNum + 1>
</#if>
</#list>
</table>
</#if>
</div>