Tweak language and styling for the CTA buttons taking users to shopping cart and checkout pages

This commit is contained in:
summerscope
2015-01-16 13:27:16 +11:00
parent 21108b34b6
commit 51687b5c2c
2 changed files with 6 additions and 5 deletions

View File

@@ -38,4 +38,5 @@
%strong {{ Cart.total() | localizeCurrency }}
.text-right
%a.button.primary.small{href: checkout_path, "ng-disabled" => "Cart.dirty || Cart.empty()"} Quick checkout
%input.small.button.secondary.add_to_cart{type: :submit, value: "Edit your cart", "ng-disabled" => "Cart.dirty || Cart.empty()" }
%a.button.primary.small{href: checkout_path, "ng-disabled" => "Cart.dirty || Cart.empty()"} Checkout now

View File

@@ -12,8 +12,8 @@
%form{action: cart_path}
.small-12.medium-4.large-3.columns
%input.button.primary.right.add_to_cart{type: :submit, value: "Your shopping cart",
"ng-disabled" => "Cart.dirty || Cart.empty()"}
%i.ofn-i_011-spinner.cart-spinner{"ng-show" => "Cart.dirty"}
%input.small.button.primary.right.add_to_cart{type: :submit, value: "{{ Cart.dirty ? 'Updating cart...' : 'Edit your cart' }}", "ng-disabled" => "Cart.dirty || Cart.empty()", "ng-class" => "{ dirty: Cart.dirty }" }
%div.pad-top{bindonce: true}
%product.animate-repeat{"ng-controller" => "ProductNodeCtrl",
@@ -41,6 +41,6 @@
.row
.small-12.columns
%form{action: cart_path}
%input.button.primary.right.add_to_cart{type: :submit, value: "Your shopping cart",
"ng-disabled" => "Cart.dirty || Cart.empty()"}
%i.ofn-i_011-spinner.cart-spinner{"ng-show" => "Cart.dirty"}
%input.small.button.primary.right.add_to_cart{type: :submit, value: "{{ Cart.dirty ? 'Updating cart...' : 'Edit your cart' }}", "ng-disabled" => "Cart.dirty || Cart.empty()", "ng-class" => "{ dirty: Cart.dirty }" }