You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by er...@apache.org on 2011/03/18 12:18:35 UTC

svn commit: r1082870 - /ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/ContentList.ftl

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="<@o...@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>