You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2010/12/03 23:43:53 UTC
svn commit: r1042038 -
/ofbiz/trunk/applications/product/webapp/catalog/promo/FindProductPromoCode.ftl
Author: jleroux
Date: Fri Dec 3 22:43:53 2010
New Revision: 1042038
URL: http://svn.apache.org/viewvc?rev=1042038&view=rev
Log:
A patch from Mirko Vogelsmeier "Added Labels for Option-fields in FindProductPromoCode.ftl" (https://issues.apache.org/jira/browse/OFBIZ-4034) - OFBIZ-4034
Modified:
ofbiz/trunk/applications/product/webapp/catalog/promo/FindProductPromoCode.ftl
Modified: ofbiz/trunk/applications/product/webapp/catalog/promo/FindProductPromoCode.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/promo/FindProductPromoCode.ftl?rev=1042038&r1=1042037&r2=1042038&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/webapp/catalog/promo/FindProductPromoCode.ftl (original)
+++ ofbiz/trunk/applications/product/webapp/catalog/promo/FindProductPromoCode.ftl Fri Dec 3 22:43:53 2010
@@ -24,8 +24,16 @@ under the License.
<div class="screenlet-body">
<form method="post" action="<@o...@ofbizUrl>" enctype="multipart/form-data">
<input type="hidden" name="productPromoId" value="${productPromoId}"/>
- <span class="label">${uiLabelMap.ProductPromoUserEntered}:</span><select name="userEntered"><option>N</option><option>Y</option></select>
- <span class="label">${uiLabelMap.ProductPromotionReqEmailOrParty}:</span><select name="requireEmailOrParty"><option>N</option><option>Y</option></select>
+ <span class="label">${uiLabelMap.ProductPromoUserEntered}:</span>
+ <select name="userEntered">
+ <option value="Y">${uiLabelMap.CommonY}</option>
+ <option value="N">${uiLabelMap.CommonN}</option>
+ </select>
+ <span class="label">${uiLabelMap.ProductPromotionReqEmailOrParty}:</span>
+ <select name="requireEmailOrParty">
+ <option value="N">${uiLabelMap.CommonN}</option>
+ <option value="Y">${uiLabelMap.CommonY}</option>
+ </select>
<span class="label">${uiLabelMap.ProductPromotionUseLimits}:
${uiLabelMap.ProductPromotionPerCode}</span><input type="text" size="5" name="useLimitPerCode" />
<span class="label">${uiLabelMap.ProductPromotionPerCustomer}</span><input type="text" size="5" name="useLimitPerCustomer" />
@@ -45,8 +53,16 @@ under the License.
<form method="post" action="<@o...@ofbizUrl>">
<input type="hidden" name="productPromoId" value="${productPromoId}"/>
<span class="label">${uiLabelMap.CommonQuantity}:</span><input type="text" size="5" name="quantity" />
- <span class="label">${uiLabelMap.ProductPromoUserEntered}:</span><select name="userEntered"><option>N</option><option>Y</option></select>
- <span class="label">${uiLabelMap.ProductPromotionReqEmailOrParty}:</span><select name="requireEmailOrParty"><option>N</option><option>Y</option></select>
+ <span class="label">${uiLabelMap.ProductPromoUserEntered}:</span>
+ <select name="userEntered">
+ <option value="Y">${uiLabelMap.CommonY}</option>
+ <option value="N">${uiLabelMap.CommonN}</option>
+ </select>
+ <span class="label">${uiLabelMap.ProductPromotionReqEmailOrParty}:</span>
+ <select name="requireEmailOrParty">
+ <option value="N">${uiLabelMap.CommonN}</option>
+ <option value="Y">${uiLabelMap.CommonY}</option>
+ </select>
<span class="label">${uiLabelMap.ProductPromotionUseLimits}:
${uiLabelMap.ProductPromotionPerCode}</span><input type="text" size="5" name="useLimitPerCode" />
<span class="label">${uiLabelMap.ProductPromotionPerCustomer}</span><input type="text" size="5" name="useLimitPerCustomer" />