This is an automated email from the ASF dual-hosted git repository.
surajk pushed a commit to branch trunk
in repository
https://gitbox.apache.org/repos/asf/ofbiz-plugins.gitThe following commit(s) were added to refs/heads/trunk by this push:
new 7aa38a2 Improved: UI markup Improvement of Inline promotion screen according to latest bootstrap. (OFBIZ-11397) Thanks Nitish Mishra for reporting and providing the patch.
7aa38a2 is described below
commit 7aa38a284b3edde1ff3164a927abeb18e9748156
Author: Suraj Khurana <
[hidden email]>
AuthorDate: Sat May 23 10:50:32 2020 +0530
Improved: UI markup Improvement of Inline promotion screen according to latest bootstrap.
(OFBIZ-11397)
Thanks Nitish Mishra for reporting and providing the patch.
---
ecommerce/template/cart/PromoUseDetailsInline.ftl | 24 ++++++++++++++++++++---
1 file changed, 21 insertions(+), 3 deletions(-)
diff --git a/ecommerce/template/cart/PromoUseDetailsInline.ftl b/ecommerce/template/cart/PromoUseDetailsInline.ftl
index 9968f3f..6e47fb0 100644
--- a/ecommerce/template/cart/PromoUseDetailsInline.ftl
+++ b/ecommerce/template/cart/PromoUseDetailsInline.ftl
@@ -16,10 +16,18 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
-<h2>${uiLabelMap.OrderPromotionInformation}:</h2>
+<div class="card">
+<div class="card-header">
+ <strong>${uiLabelMap.OrderPromotionInformation}</strong>
+</div>
+<div class="card-body">
<div class="row">
<div class="col-xl-6">
- <h3>${uiLabelMap.OrderPromotionsApplied}:</h3>
+ <div class="card">
+ <div class="card-header">
+ <strong>${uiLabelMap.OrderPromotionsApplied}</strong>
+ </div>
+ <div class="card-body">
<ul>
<#list shoppingCart.getProductPromoUseInfoIter() as productPromoUseInfo>
<li>
@@ -36,10 +44,16 @@ under the License.
</#if>
</#list>
</ul>
+ </div>
+ </div>
</div>
<div class="col-xl-6">
- <h3>${uiLabelMap.OrderCartItemUseinPromotions}:</h3>
+ <div class="card">
+ <div class="card-header">
+ <strong>${uiLabelMap.OrderCartItemUseinPromotions}</strong>
+ </div>
+ <div class="card-body">
<ul>
<#list shoppingCart.items() as cartLine>
<#assign cartLineIndex = shoppingCart.getItemIndex(cartLine)>
@@ -76,5 +90,9 @@ under the License.
</#if>
</#list>
</ul>
+ </div>
+ </div>
</div>
+</div>
+</div>
</div>
\ No newline at end of file