Skip to content

Commit

Permalink
feat: (CXSPA-8032) - Change a into button for "Cancel Orders" and "Re…
Browse files Browse the repository at this point in the history
…quest a Return" (#19306)
  • Loading branch information
petarmarkov9449 authored Oct 10, 2024
1 parent b53ab91 commit e9f68e6
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<div class="col-xs-12 col-md-4 col-lg-3">
<a
role="button"
[routerLink]="
{
cxRoute: backRoute,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

<div class="col-xs-12 col-md-4 col-lg-3">
<a
role="button"
*ngIf="order.cancellable"
[routerLink]="
{
Expand All @@ -24,6 +25,7 @@
</a>

<a
role="button"
*ngIf="order.returnable"
[routerLink]="
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<div class="cx-cancel-replenishment-btns row">
<div class="col-xs-12 col-md-5 col-lg-4">
<a
role="button"
class="btn btn-block btn-secondary"
[routerLink]="
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
<div class="form-group row">
<div class="col-lg-4 col-md-12">
<a
role="button"
[routerLink]="{ cxRoute: 'orderApprovals' } | cxUrl"
class="btn btn-block btn-secondary"
>{{ 'orderApprovalDetails.back' | cxTranslate }}</a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<ng-container *cxFeature="'!a11yUseButtonsForBtnLinks'">
<ng-container *ngIf="!loginAsGuest">
<a
role="button"
[routerLink]="{ cxRoute: 'register' } | cxUrl"
class="btn btn-block btn-secondary btn-register"
>{{ 'loginForm.register' | cxTranslate }}</a
Expand All @@ -28,6 +29,7 @@

<ng-container *ngIf="loginAsGuest">
<a
role="button"
[routerLink]="{ cxRoute: 'checkoutLogin' } | cxUrl"
class="btn btn-block btn-secondary btn-guest"
>{{ 'loginForm.guestCheckout' | cxTranslate }}</a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
</ng-container>
<ng-container *cxFeature="'!a11yUseButtonsForBtnLinks'">
<a
role="button"
[routerLink]="{ cxRoute: 'home' } | cxUrl"
class="btn btn-block btn-secondary"
>{{ 'common.cancel' | cxTranslate }}</a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
</ng-container>
<ng-container *cxFeature="'!a11yUseButtonsForBtnLinks'">
<a
role="button"
class="btn btn-block btn-secondary"
[routerLink]="{ cxRoute: 'login' } | cxUrl"
>{{ 'common.cancel' | cxTranslate }}</a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
</label>

<a
role="button"
class="btn btn-block btn-secondary"
[routerLink]="{ cxRoute: 'home' } | cxUrl"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@
</ng-container>
<ng-container *cxFeature="'!a11yUseButtonsForBtnLinks'">
<a
role="button"
[routerLink]="{ cxRoute: 'home' } | cxUrl"
class="btn btn-block btn-secondary"
>{{ 'common.cancel' | cxTranslate }}</a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@
</ng-container>
<ng-container *cxFeature="'!a11yUseButtonsForBtnLinks'">
<a
role="button"
[routerLink]="{ cxRoute: 'home' } | cxUrl"
class="btn btn-block btn-secondary"
>{{ 'common.cancel' | cxTranslate }}</a
Expand Down

0 comments on commit e9f68e6

Please sign in to comment.