You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by as...@apache.org on 2012/05/08 13:29:40 UTC
svn commit: r1335422 -
/ofbiz/branches/release11.04/applications/party/webapp/partymgr/party/profileblocks/Attributes.ftl
Author: ashish
Date: Tue May 8 11:29:40 2012
New Revision: 1335422
URL: http://svn.apache.org/viewvc?rev=1335422&view=rev
Log:
Applied bug fix from trunk r1292662.
only show party attributes if they have content
Modified:
ofbiz/branches/release11.04/applications/party/webapp/partymgr/party/profileblocks/Attributes.ftl
Modified: ofbiz/branches/release11.04/applications/party/webapp/partymgr/party/profileblocks/Attributes.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/release11.04/applications/party/webapp/partymgr/party/profileblocks/Attributes.ftl?rev=1335422&r1=1335421&r2=1335422&view=diff
==============================================================================
--- ofbiz/branches/release11.04/applications/party/webapp/partymgr/party/profileblocks/Attributes.ftl (original)
+++ ofbiz/branches/release11.04/applications/party/webapp/partymgr/party/profileblocks/Attributes.ftl Tue May 8 11:29:40 2012
@@ -22,7 +22,7 @@ under the License.
<ul>
<li class="h3">${uiLabelMap.PartyAttributes}</li>
<#if security.hasEntityPermission("PARTYMGR", "_CREATE", session)>
- <li><a href="<@o...@ofbizUrl>">${uiLabelMap.CommonCreateNew}</a></li>
+ <li><a href="<@o...@ofbizUrl>">${uiLabelMap.CommonCreateNew}</a></li>
</#if>
</ul>
<br class="clear"/>
@@ -39,13 +39,13 @@ under the License.
<#list attributes as attr>
<tr valign="middle"<#if alt_row> class="alternate-row"</#if>>
<td>
- ${attr.attrName}
+ ${attr.attrName?if_exists}
</td>
<td>
- ${attr.attrValue}
+ ${attr.attrValue?if_exists}
</td>
<td class="button-col">
- <a href="<@o...@ofbizUrl>">${uiLabelMap.CommonEdit}</a>
+ <a href="<@o...@ofbizUrl>">${uiLabelMap.CommonEdit}</a>
</td>
</tr>
<#-- toggle the row color -->