Author: ashish
Date: Tue Mar 17 09:03:28 2009 New Revision: 755157 URL: http://svn.apache.org/viewvc?rev=755157&view=rev Log: Applied patch from Jira Issue OFBIZ-2242 (Small typos in ecommerce & webpos components) Thanks Ashish Nagar for your contribution. Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/order/splitship.ftl ofbiz/trunk/specialpurpose/webpos/webapp/webpos/cart/ShowCart.ftl Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/order/splitship.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/order/splitship.ftl?rev=755157&r1=755156&r2=755157&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/order/splitship.ftl (original) +++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/order/splitship.ftl Tue Mar 17 09:03:28 2009 @@ -175,8 +175,8 @@ <#-- product item --> <#-- start code to display a small image of the product --> <#assign smallImageUrl = Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(cartLine.getProduct(), "SMALL_IMAGE_URL", locale, dispatcher)?if_exists> - <#if !smallImageUr?string?has_content><#assign smallImageUrl = "/images/defaultImage.jpg"></#if> - <#if smallImageUr?string?has_content> + <#if !smallImageUrl?string?has_content><#assign smallImageUrl = "/images/defaultImage.jpg"></#if> + <#if smallImageUrl?string?has_content> <a href="<@ofbizUrl>product?product_id=${cartLine.getProductId()}</@ofbizUrl>"> <img src="<@ofbizContentUrl>${requestAttributes.contentPathPrefix?if_exists}${smallImageUrl}</@ofbizContentUrl>" width="50" class="imageborder" border="0"/> </a> Modified: ofbiz/trunk/specialpurpose/webpos/webapp/webpos/cart/ShowCart.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/webapp/webpos/cart/ShowCart.ftl?rev=755157&r1=755156&r2=755157&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/webapp/webpos/cart/ShowCart.ftl (original) +++ ofbiz/trunk/specialpurpose/webpos/webapp/webpos/cart/ShowCart.ftl Tue Mar 17 09:03:28 2009 @@ -92,8 +92,8 @@ <#assign parentProductId = cartLine.getProductId()/> </#if> <#assign smallImageUrl = Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(cartLine.getProduct(), "SMALL_IMAGE_URL", locale, dispatcher)?if_exists> - <#if !smallImageUr?string?has_content><#assign smallImageUrl = "/images/defaultImage.jpg"></#if> - <#if smallImageUr?string?has_content> + <#if !smallImageUrl?string?has_content><#assign smallImageUrl = "/images/defaultImage.jpg"></#if> + <#if smallImageUrl?string?has_content> <img src="<@ofbizContentUrl>${requestAttributes.contentPathPrefix?if_exists}${smallImageUrl}</@ofbizContentUrl>" align="left" width="50" class="imageborder" border="0"/> </#if> <#-- end code to display a small image of the product --> |
Free forum by Nabble | Edit this page |