ofbiz-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject svn commit: r1082870 - /ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/ContentList.ftl
Date Fri, 18 Mar 2011 11:18:35 GMT
Author: erwan
Date: Fri Mar 18 11:18:35 2011
New Revision: 1082870

URL: http://svn.apache.org/viewvc?rev=1082870&view=rev
Log:
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}&amp;partyId=${pContent.partyId}&amp;partyContentTypeId=${pContent.partyContentTypeId}&amp;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>



Mime
View raw message