Author: lektran
Date: Wed May 23 01:35:34 2007
New Revision: 540885
URL:
http://svn.apache.org/viewvc?view=rev&rev=540885Log:
Applied fix from trunk for revision: 538110
Modified:
ofbiz/branches/release4.0/applications/ecommerce/webapp/ecommerce/customer/viewprofile.ftl
Modified: ofbiz/branches/release4.0/applications/ecommerce/webapp/ecommerce/customer/viewprofile.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release4.0/applications/ecommerce/webapp/ecommerce/customer/viewprofile.ftl?view=diff&rev=540885&r1=540884&r2=540885==============================================================================
--- ofbiz/branches/release4.0/applications/ecommerce/webapp/ecommerce/customer/viewprofile.ftl (original)
+++ ofbiz/branches/release4.0/applications/ecommerce/webapp/ecommerce/customer/viewprofile.ftl Wed May 23 01:35:34 2007
@@ -416,14 +416,14 @@
<#assign mimeType = content.getRelatedOneCache("MimeType")?if_exists>
<#assign status = content.getRelatedOneCache("StatusItem")>
<tr>
- <td><a href="<@ofbizUrl>img/${content.contentName}?imgId=${content.dataResourceId}</@ofbizUrl>" class="buttontext">${content.contentId}</a>
+ <td><a href="<@ofbizUrl>img/${content.contentName?if_exists}?imgId=${content.dataResourceId}</@ofbizUrl>" class="buttontext">${content.contentId}</a>
<td><div class="tabletext">${content.contentName?if_exists}</div></td>
<td><div class="tabletext">${(contentType.get("description",locale))?if_exists}</div></td>
<td><div class="tabletext">${mimeType?if_exists.description?if_exists}</div></td>
<td><div class="tabletext">${(status.get("description",locale))?if_exists}</div></td>
<td><div class="tabletext">${contentRole.fromDate?if_exists}</div></td>
<td align="right">
- <a href="<@ofbizUrl>img/${content.contentName}?imgId=${content.dataResourceId}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonView}</a>
+ <a href="<@ofbizUrl>img/${content.contentName?if_exists}?imgId=${content.dataResourceId}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonView}</a>
<a href="<@ofbizUrl>removePartyAsset?contentId=${contentRole.contentId}&partyId=${contentRole.partyId}&roleTypeId=${contentRole.roleTypeId}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonRemove}</a>
</td>
</tr>