From 4282d563f71da11bc7f00a300c33f3784850ee13 Mon Sep 17 00:00:00 2001 From: Anil Patel Date: Sun, 2 Aug 2009 09:17:23 +0000 Subject: [PATCH] Fix remove button on PartyProfile content list portlet. Patch from OFBIZ-2725. Thanks Chris Show for reporting and Ahmed Dini for fix patch. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@800009 13f79535-47bb-0310-9956-ffa450edef68 --- .../partymgr/party/profileblocks/ContentList.ftl | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/applications/party/webapp/partymgr/party/profileblocks/ContentList.ftl b/applications/party/webapp/partymgr/party/profileblocks/ContentList.ftl index 8cdbf345b5..41dd418792 100644 --- a/applications/party/webapp/partymgr/party/profileblocks/ContentList.ftl +++ b/applications/party/webapp/partymgr/party/profileblocks/ContentList.ftl @@ -21,6 +21,7 @@ under the License.
<#if partyContent?has_content> + <#assign rowCount = 0> <#list partyContent as pContent> <#assign content = pContent.getRelatedOne("Content")> <#assign contentType = content.getRelatedOneCache("ContentType")> @@ -39,9 +40,16 @@ under the License. <#if (content.contentName?has_content)> ${uiLabelMap.CommonView} - ${uiLabelMap.CommonRemove} + + + + + + ${uiLabelMap.CommonRemove} + + <#assign rowCount = rowCount + 1>
<#else>