Author: pranayp
Date: Tue Jun 14 12:39:03 2016
New Revision: 1748394
URL: http://svn.apache.org/viewvc?rev=1748394&view=rev
Log:
[OFBIZ-7341] Applied patch from the ticket. Fixed image rendering issue on
eCommerce customer profile view.
Thanks Mohammed Rehan Khan for reporting the issue and providing patch.
Modified:
ofbiz/trunk/specialpurpose/ecommerce/template/customer/ViewProfile.ftl
Modified: ofbiz/trunk/specialpurpose/ecommerce/template/customer/ViewProfile.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/template/customer/ViewProfile.ftl?rev=1748394&r1=1748393&r2=1748394&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/template/customer/ViewProfile.ftl
(original)
+++ ofbiz/trunk/specialpurpose/ecommerce/template/customer/ViewProfile.ftl Tue
Jun 14 12:39:03 2016
@@ -408,7 +408,7 @@ under the License.
<#assign mimeType = content.getRelatedOne("MimeType", true)! />
<#assign status = content.getRelatedOne("StatusItem", true) />
<tr>
- <td><a
href="<@ofbizUrl>img/${content.contentName!}?imgId=${content.dataResourceId!}</@ofbizUrl>"
class="button">${content.contentId}</a></td>
+ <td><a
href="<@ofbizUrl>img?imgId=${content.dataResourceId!}</@ofbizUrl>"
class="button">${content.contentId}</a></td>
<td>${content.contentName!}</td>
<td>${(contentType.get("description",locale))!}</td>
<td>${(mimeType.description)!}</td>
@@ -420,7 +420,7 @@ under the License.
<input name="contentId" type="hidden"
value="${contentRole.contentId}"/>
<input name="roleTypeId" type="hidden"
value="${contentRole.roleTypeId}"/>
</form>
- <a
href="<@ofbizUrl>img/${content.contentName!}?imgId=${content.dataResourceId!}</@ofbizUrl>"
class="button">${uiLabelMap.CommonView}</a>
+ <a
href="<@ofbizUrl>img?imgId=${content.dataResourceId!}</@ofbizUrl>"
class="button">${uiLabelMap.CommonView}</a>
<a
href="javascript:document.removeContent_${contentRole.contentId}.submit();"
class="button">${uiLabelMap.CommonRemove}</a>
</td>
</tr>