Author: erwan
Date: Fri Mar 18 11:18:35 2011
New Revision: 1082870
URL:
http://svn.apache.org/viewvc?rev=1082870&view=revLog:
display the localized PartyContentType when displaying the content list
Modified:
ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/ContentList.ftl
Modified: ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/ContentList.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/ContentList.ftl?rev=1082870&r1=1082869&r2=1082870&view=diff==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/ContentList.ftl (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/ContentList.ftl Fri Mar 18 11:18:35 2011
@@ -28,7 +28,7 @@ under the License.
<#assign pcType = pContent.getRelatedOne("PartyContentType")>
<tr>
<td class="button-col"><a href="<@ofbizUrl>EditPartyContents?contentId=${pContent.contentId}&partyId=${pContent.partyId}&partyContentTypeId=${pContent.partyContentTypeId}&fromDate=${pContent.fromDate}</@ofbizUrl>">${content.contentId}</a></td>
- <td>${pcType.description?if_exists}</td>
+ <td>${(pcType.get("description", locale))?if_exists}</td>
<td>${content.contentName?if_exists}</td>
<td>${(contentType.get("description",locale))?if_exists}</td>
<td>${(mimeType.description)?if_exists}</td>