(OFBIZ-10462) The "checkout section" in the ecommerce main page is not easily legible (OFBIZ-10414) Steps to regenerate the issue are as follows: 1) Navigate to storefront 2) Click on "View All Promotions" button. Expected: All promotions should be in a listed format. Actual: All promotions are listed inline. jleroux: I also added a space after uiLabelMap.CommonDetails in ShowAllPromotions template in order This also improves OFBIZ-10414 Thanks: Pritam Kute git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1840263 13f79535-47bb-0310-9956-ffa450edef68
44 lines
1.5 KiB
Plaintext
44 lines
1.5 KiB
Plaintext
<#--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
software distributed under the License is distributed on an
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the
|
|
specific language governing permissions and limitations
|
|
under the License.
|
|
-->
|
|
|
|
<#if showPromoText>
|
|
<div id="minipromotext" class="card">
|
|
<div class="card-header">
|
|
${uiLabelMap.OrderSpecialOffers}
|
|
</div>
|
|
<div class="card-body">
|
|
<#-- show promotions text -->
|
|
<ul>
|
|
<#list productPromos as productPromo>
|
|
<li>
|
|
<p>
|
|
<a href="<@ofbizUrl>showPromotionDetails?productPromoId=${productPromo.productPromoId}</@ofbizUrl>"
|
|
class="linktext">${uiLabelMap.CommonDetails}</a>
|
|
${StringUtil.wrapString(productPromo.promoText!)}
|
|
</p>
|
|
</li>
|
|
</#list>
|
|
</ul>
|
|
<a href="<@ofbizUrl>showAllPromotions</@ofbizUrl>" class="btn btn-outline-secondary">
|
|
${uiLabelMap.OrderViewAllPromotions}
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</#if>
|