Skip to content

Commit

Permalink
Merge branch 'develop' into fix-percentage
Browse files Browse the repository at this point in the history
  • Loading branch information
Jali-Khusi authored Oct 15, 2024
2 parents 20866ca + 4f60be3 commit e5b637c
Show file tree
Hide file tree
Showing 12 changed files with 523 additions and 460 deletions.
1 change: 1 addition & 0 deletions feature-libs/cart/base/assets/translations/en/cart.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"coupon": "Have a coupon?",
"coupon_other": "Coupon codes",
"couponLabel": "Enter a promo code here",
"addCoupon": "Add a coupon",
"apply": "Apply",
"placeholder": "Promo code",
"applyVoucherSuccess": "{{voucherCode}} has been applied.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
</ng-container>

<form (ngSubmit)="applyVoucher()" [formGroup]="couponForm">
<label class="cx-cart-coupon-title">
{{ 'voucher.coupon' | cxTranslate }}
<label id="card-coupon-input-label" class="cx-cart-coupon-title">
{{ 'voucher.addCoupon' | cxTranslate }}
<!-- TODO: (CXSPA-7479) Remove feature flags next major -->
<ng-container
*cxFeature="
Expand All @@ -37,7 +37,7 @@
"
>
<input
[attr.aria-label]="'voucher.couponLabel' | cxTranslate"
[attr.aria-labelledby]="'card-coupon-input-label'"
type="text"
class="form-control input-coupon-code"
formControlName="couponCode"
Expand All @@ -62,7 +62,7 @@
>
<!-- TODO: (CXSPA-7479) Remove feature flags next major -->
<input
[attr.aria-label]="'voucher.couponLabel' | cxTranslate"
[attr.aria-labelledby]="'card-coupon-input-label'"
required="true"
type="text"
class="form-control input-coupon-code"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<div>
<button
(click)="toggleOpenHours()"
[attr.aria-expanded]="openHoursOpen"
class="cx-store-opening-hours-toggle"
>
{{ 'store.viewHours' | cxTranslate }}
Expand Down
Loading

0 comments on commit e5b637c

Please sign in to comment.