From 2ac7fe36520160004161f8f3d36e90339509bcc4 Mon Sep 17 00:00:00 2001 From: Will Marshall Date: Thu, 13 Mar 2014 18:03:22 +1100 Subject: [PATCH] Tweaking checkout links --- .../spree/orders/edit/list_view.html.haml.deface | 4 ++-- .../spree/orders/edit/quick_checkout.html.haml.deface | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/overrides/spree/orders/edit/list_view.html.haml.deface b/app/overrides/spree/orders/edit/list_view.html.haml.deface index d8a83443ed..86f90c6c8e 100644 --- a/app/overrides/spree/orders/edit/list_view.html.haml.deface +++ b/app/overrides/spree/orders/edit/list_view.html.haml.deface @@ -1,6 +1,6 @@ / replace_contents "[id='clear_cart_link']" -%div - = link_to "Continue Shopping in List View", main_app.shop_path, class: "button primary checkout" +%p + = link_to "Continue Shopping", main_app.shop_path, class: "button primary checkout" = t(:or) = submit_tag t(:empty_cart), :class => 'button gray' diff --git a/app/overrides/spree/orders/edit/quick_checkout.html.haml.deface b/app/overrides/spree/orders/edit/quick_checkout.html.haml.deface index a94cab591a..ea21298832 100644 --- a/app/overrides/spree/orders/edit/quick_checkout.html.haml.deface +++ b/app/overrides/spree/orders/edit/quick_checkout.html.haml.deface @@ -2,8 +2,8 @@ = button_tag :class => 'primary', :id => 'update-button' do = t(:update) +  += link_to "Checkout", main_app.shop_checkout_path, class: "button checkout primary" -= link_to "Quick Checkout", main_app.shop_checkout_path, class: "button checkout primary" - -= button_tag :class => 'button checkout gray', :id => 'checkout-link', :name => 'checkout' do - Old Checkout +%div + = link_to "Old Checkout", "/checkout", :id => 'checkout-link'