Author: jleroux
Date: Sat Apr 20 09:27:12 2013
New Revision: 1470136
URL:
http://svn.apache.org/r1470136Log:
A patch from Mark Schneider for "Common look for subscreens of ecommerce (minipromotext.ftl )"
https://issues.apache.org/jira/browse/OFBIZ-5173Extension of minipromotext.ftl to get more common look for this subscreen of ecommerce. Patch and screenshot will be attached.
Modified:
ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/cart/minipromotext.ftl
Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/cart/minipromotext.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/cart/minipromotext.ftl?rev=1470136&r1=1470135&r2=1470136&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/cart/minipromotext.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/cart/minipromotext.ftl Sat Apr 20 09:27:12 2013
@@ -18,21 +18,29 @@ under the License.
-->
<#if showPromoText>
-<div id="minipromotext">
- <h3>${uiLabelMap.OrderSpecialOffers}</h3>
+<div id="minipromotext" class="screenlet">
+ <div class="screenlet-title-bar">
+ <ul>
+ <li class="h3">${uiLabelMap.OrderSpecialOffers}</li>
+ </ul>
+ <br class="clear"/>
+ </div>
+
+ <div class="screenlet-body">
<#-- show promotions text -->
- <ul>
- <#list productPromos as productPromo>
+ <ul>
+ <#list productPromos as productPromo>
+ <li>
+ <p>
+ <a href="<@ofbizUrl>showPromotionDetails?productPromoId=${productPromo.productPromoId}</@ofbizUrl>" class="linktext">${uiLabelMap.CommonDetails}</a>
+ ${StringUtil.wrapString(productPromo.promoText?if_exists)}
+ </p>
+ </li>
+ </#list>
<li>
- <p>
- <a href="<@ofbizUrl>showPromotionDetails?productPromoId=${productPromo.productPromoId}</@ofbizUrl>" class="linktext">${uiLabelMap.CommonDetails}</a>
- ${StringUtil.wrapString(productPromo.promoText?if_exists)}
- </p>
+ <a href="<@ofbizUrl>showAllPromotions</@ofbizUrl>" class="button">${uiLabelMap.OrderViewAllPromotions}</a>
</li>
- </#list>
- <li>
- <a href="<@ofbizUrl>showAllPromotions</@ofbizUrl>" class="button">${uiLabelMap.OrderViewAllPromotions}</a>
- </li>
- </ul>
+ </ul>
+ </div>
</div>
</#if>