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:31:47 UTC
svn commit: r1335425 -
/ofbiz/branches/release10.04/applications/party/webapp/partymgr/party/profileblocks/Attributes.ftl
Author: ashish
Date: Tue May 8 11:31:47 2012
New Revision: 1335425
URL: http://svn.apache.org/viewvc?rev=1335425&view=rev
Log:
Applied bug fix from trunk r1292662.
only show party attributes if they have content.
Thanks Deepak for your help.
Modified:
ofbiz/branches/release10.04/applications/party/webapp/partymgr/party/profileblocks/Attributes.ftl
Modified: ofbiz/branches/release10.04/applications/party/webapp/partymgr/party/profileblocks/Attributes.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/release10.04/applications/party/webapp/partymgr/party/profileblocks/Attributes.ftl?rev=1335425&r1=1335424&r2=1335425&view=diff
==============================================================================
--- ofbiz/branches/release10.04/applications/party/webapp/partymgr/party/profileblocks/Attributes.ftl (original)
+++ ofbiz/branches/release10.04/applications/party/webapp/partymgr/party/profileblocks/Attributes.ftl Tue May 8 11:31:47 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 -->