[ 
https://issues.apache.org/jira/browse/OFBIZ-5173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Schneider updated OFBIZ-5173:
----------------------------------


--- 
apache-ofbiz-12.04.01-orig/specialpurpose/ecommerce/webapp/ecommerce/cart/minipromotext.ftl
 2009-06-29 01:13:38.000000000 +0200
+++ 
apache-ofbiz-12.04.01/specialpurpose/ecommerce/webapp/ecommerce/cart/minipromotext.ftl
      2013-04-07 17:28:00.250199822 +0200
@@ -18,21 +18,29 @@
 -->
 
 <#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>

                
> Common look for subscreens of ecommerce (minipromotext.ftl )
> ------------------------------------------------------------
>
>                 Key: OFBIZ-5173
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5173
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: specialpurpose/ecommerce
>    Affects Versions: Release Branch 12.04
>         Environment: apache-ofbiz-12.04.01
> java version "1.7.0_17"
> Linux wheezy 3.2.0-4-amd64 #1 SMP Debian 3.2.35-2 x86_64 GNU/Linux
>            Reporter: Mark Schneider
>            Priority: Trivial
>              Labels: patch
>             Fix For: Release Branch 12.04
>
>   Original Estimate: 0.25h
>  Remaining Estimate: 0.25h
>
> Extension of minipromotext.ftl to get more common look for this subscreen of 
> ecommerce. Patch and screenshot will be attached.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to