-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcheckoutButtons.html
More file actions
42 lines (42 loc) · 1.92 KB
/
Copy pathcheckoutButtons.html
File metadata and controls
42 lines (42 loc) · 1.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<ul>
<style ng-if="continue">
.navbar-fixed-bottom ul li:nth-of-type(1) {
width: 20%;
}
.navbar-fixed-bottom ul li:nth-of-type(2) {
width: 20%;
}
.navbar-fixed-bottom ul li:nth-of-type(3) {
width: 20%;
}
.navbar-fixed-bottom ul li:last-child {
width: 40%;
}
</style>
<li ng-if="continue">
<button type="button" class="btn btn-info" redirect="catalog">
<small class="hidden-xs">{{'Continue Shopping' | r | xlat}}</small>
<small class="visible-xs">{{'Shop' | r | xlat}}</small>
</button>
</li>
<li>
<button class="btn btn-danger" ng-click="currentOrder.Status == 'AwaitingApproval' ? cancelEdit() : cancelOrder()">
<small ng-show="currentOrder.Status != 'AwaitingApproval'">{{('Cancel' | r) + ' ' + ('Order' | r) | xlat}}</small>
<small ng-show="currentOrder.Status == 'AwaitingApproval'">{{('Cancel' | r) + ' ' + ('Edit' | r) | xlat}}</small>
</button>
</li>
<li>
<button class="btn btn-primary" ng-click="saveChanges()">
<loadingindicator ng-show="displayLoadingIndicator" />
{{('Save' | r) + ' ' + ('Order' | r) | xlat}}
</button>
</li>
<li>
<button class="btn"
ng-class="{'btn-warning': cart_shipping.$invalid || cart_order.$invalid || cart_billing.$invalid || submitClicked, 'btn-success': !cart_shipping.$invalid && !cart_order.$invalid && !cart_billing.$invalid || !submitClicked }"
ng-click="submitOrder()" ng-disabled="cart_shipping.$invalid || cart_order.$invalid || cart_billing.$invalid || submitClicked">
<i ng-show="cart_shipping.$invalid || cart_order.$invalid || cart_billing.$invalid || submitClicked" class="fa fa-warning"></i>
<span>{{('Submit' | r) + ' ' + ('Order' | r) | xlat}}</span>
</button>
</li>
</ul>