From 9c421e146eb390bbeccbfdfe2c8300d36ba72a11 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Wed, 8 Apr 2020 10:23:18 +0200 Subject: [PATCH] Remove arrows from cart and checkout buttons --- app/views/checkout/_summary.html.haml | 1 - app/views/spree/orders/form/_cart_links.html.haml | 2 -- app/views/spree/orders/form/_update_buttons.html.haml | 2 -- 3 files changed, 5 deletions(-) diff --git a/app/views/checkout/_summary.html.haml b/app/views/checkout/_summary.html.haml index 0ca86fcb2e..fa3bd6f4ed 100644 --- a/app/views/checkout/_summary.html.haml +++ b/app/views/checkout/_summary.html.haml @@ -31,5 +31,4 @@ //= f.submit "Purchase", class: "button", "ofn-focus" => "accordion['payment']" %a.button.secondary{href: main_app.cart_url} - %i.ofn-i_008-caret-left = t :checkout_back_to_cart diff --git a/app/views/spree/orders/form/_cart_links.html.haml b/app/views/spree/orders/form/_cart_links.html.haml index d787b9c50f..24b5b50b27 100644 --- a/app/views/spree/orders/form/_cart_links.html.haml +++ b/app/views/spree/orders/form/_cart_links.html.haml @@ -1,9 +1,7 @@ .row.links{'data-hook' => "cart_buttons"} .columns.large-8{"data-hook" => ""} %a.button.large.secondary{href: current_shop_products_path} - %i.ofn-i_008-caret-left = t :orders_edit_continue .columns.large-4.text-right %a#checkout-link.button.large.primary{href: main_app.checkout_path} = t :orders_edit_checkout - %i.ofn-i_007-caret-right diff --git a/app/views/spree/orders/form/_update_buttons.html.haml b/app/views/spree/orders/form/_update_buttons.html.haml index 22ede28e57..5757d1742f 100644 --- a/app/views/spree/orders/form/_update_buttons.html.haml +++ b/app/views/spree/orders/form/_update_buttons.html.haml @@ -3,11 +3,9 @@ - if current_order.nil? || current_order.distributor.nil? || current_order.distributor == @order.distributor - if current_order&.line_items.present? = link_to main_app.cart_path, :class => "button expand" do - %i.ofn-i_008-caret-left = t(:order_back_to_cart) - else = link_to "#{main_app.enterprise_shop_path(@order.distributor)}#/shop", class: "button expand" do - %i.ofn-i_008-caret-left = t(:order_back_to_store) - else