Skip to content

Commit

Permalink
fix: (CXSPA-983) - Table roles for saved carts list (#19002)
Browse files Browse the repository at this point in the history
Co-authored-by: Miguel Estrada <[email protected]>
  • Loading branch information
Pio-Bar and developpeurweb authored Jul 10, 2024
1 parent 531ebc7 commit a1af4fa
Showing 1 changed file with 17 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,34 @@ <h2>
</div>

<ng-container *ngIf="savedCarts?.length > 0; else noSavedCarts">
<table class="table cx-saved-cart-list-table">
<thead class="cx-saved-cart-list-thead-mobile">
<th scope="col">
<table role="table" class="table cx-saved-cart-list-table">
<thead role="row" class="cx-saved-cart-list-thead-mobile">
<th role="columnheader" scope="col">
{{ 'savedCartList.cartName' | cxTranslate }}
</th>
<th scope="col">{{ 'savedCartList.cartId' | cxTranslate }}</th>
<th scope="col">{{ 'savedCartList.dateSaved' | cxTranslate }}</th>
<th scope="col" class="cx-saved-cart-list-th-qty">
<th role="columnheader" scope="col">
{{ 'savedCartList.cartId' | cxTranslate }}
</th>
<th role="columnheader" scope="col">
{{ 'savedCartList.dateSaved' | cxTranslate }}
</th>
<th role="columnheader" scope="col" class="cx-saved-cart-list-th-qty">
{{ 'savedCartList.quantity' | cxTranslate }}
</th>
<th scope="col" class="cx-saved-cart-list-th-total">
<th
role="columnheader"
scope="col"
class="cx-saved-cart-list-th-total"
>
{{ 'savedCartList.total' | cxTranslate }}
</th>
<th scope="col">
<th role="columnheader" scope="col">
{{ 'savedCartList.actions' | cxTranslate }}
</th>
</thead>
<tbody>
<tr
role="row"
*ngFor="let savedCart of savedCarts"
(click)="goToSavedCartDetails(savedCart)"
>
Expand Down

0 comments on commit a1af4fa

Please sign in to comment.