============================================================ relocate .ftl files in the framework/webtools component ============================================================ Thanks Pierre Smits for your contribution. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1738581 13f79535-47bb-0310-9956-ffa450edef68
62 lines
2.7 KiB
Plaintext
62 lines
2.7 KiB
Plaintext
<#--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
software distributed under the License is distributed on an
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the
|
|
specific language governing permissions and limitations
|
|
under the License.
|
|
-->
|
|
<h1>${uiLabelMap.WebtoolsLabelManagerViewReferences}</h1>
|
|
<table class="basic-table" cellspacing="0">
|
|
<tr>
|
|
<td class="label">${uiLabelMap.WebtoolsLabelManagerKey}</td>
|
|
<td colspan="2">${parameters.sourceKey!}</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="3"> </td>
|
|
</tr>
|
|
<tr class="header-row">
|
|
<td>${uiLabelMap.WebtoolsLabelManagerRow}</td>
|
|
<td>${uiLabelMap.WebtoolsLabelManagerFileName}</td>
|
|
<td>${uiLabelMap.WebtoolsLabelManagerReferences}</td>
|
|
</tr>
|
|
<#if parameters.sourceKey?? && parameters.sourceKey?has_content>
|
|
<#assign rowNum = "2">
|
|
<#assign rowNumber = 1>
|
|
<#assign totalRefs = 0/>
|
|
<#assign reference = references.get(parameters.sourceKey)!>
|
|
<#if reference?? && reference?has_content>
|
|
<#assign entries = reference.entrySet()>
|
|
<#list entries as entry>
|
|
<tr <#if rowNum == "1">class="alternate-row"</#if>>
|
|
<td>${rowNumber}</td>
|
|
<td><a href="<@ofbizUrl>ViewFile?fileName=${entry.getKey()}&sourceKey=${parameters.sourceKey!}</@ofbizUrl>">${entry.getKey()}</a></td>
|
|
<td>${entry.getValue()}</td>
|
|
</tr>
|
|
<#assign totalRefs = totalRefs + entry.getValue()/>
|
|
<#if rowNum == "2">
|
|
<#assign rowNum = "1">
|
|
<#else>
|
|
<#assign rowNum = "2">
|
|
</#if>
|
|
<#assign rowNumber = rowNumber + 1>
|
|
</#list>
|
|
<tr <#if rowNum == "1">class="alternate-row"</#if>>
|
|
<td> </td>
|
|
<td><b>${uiLabelMap.CommonTotal}</b></td>
|
|
<td>${totalRefs}</td>
|
|
</tr>
|
|
</#if>
|
|
</#if>
|
|
</table>
|