Thank you. I have created new issue (as below)
Summary: Common look for subscreens of ecommerce
(minipromotext.ftl )
Key: OFBIZ-5173
URL:https://issues.apache.org/jira/browse/OFBIZ-5173
I didn't find any possiblity in JIRA to attach a patch as attachment.
Am 08.04.2013 03:27, schrieb Varun Bhansaly:
The best way to contribute is by creating a JIRA issue and attaching
patches therein, this link
https://cwiki.apache.org/OFBADMIN/ofbiz-contributors-best-practices.html
should help.
On Sun, Apr 7, 2013 at 9:38 PM, Mark
Schneider<m...@it-infrastrukturen.org>wrote:
Are you interested in some cosmetic pachtes like the one attached?
(to get more common look for all subscreens of ecommerce)
apache-ofbiz-12.04.01/**specialpurpose/ecommerce/**webapp/ecommerce/cart/*
*minipromotext.ftl
Further I could add some non-existing UiLabels for German to/for eCommerce.
(in case you are interested)
regards, Mark
--
m...@it-infrastrukturen.org
http://rsync.it-infrastrukturen.org
--- 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>