Order confirmation top page working on header label

This commit is contained in:
summerscope
2015-03-04 17:18:55 +11:00
parent 163035dcad
commit 76f234ee4d

View File

@@ -11,17 +11,20 @@
= render partial: "shopping_shared/details"
.row
%fieldset#order_summary{"data-hook" => ""}
%legend{align: "center"}= t(:order) + " #" + @order.number
%fieldset#order_summary{"data-hook" => ""}
.row
.columns.large-12.text-center
%h2
Order confirmation
= " #" + @order.number
#order{"data-hook" => ""}
- if params.has_key? :checkout_complete
%h1= t(:thank_you_for_your_order)
#order{"data-hook" => ""}
- if params.has_key? :checkout_complete
%h1= t(:thank_you_for_your_order)
= render :partial => 'spree/shared/order_details', :locals => { :order => @order }
= render :partial => 'spree/shared/order_details', :locals => { :order => @order }
= link_to t(:back_to_store), main_app.shop_path, :class => "button"
- unless params.has_key? :checkout_complete
- if try_spree_current_user && respond_to?(:spree_account_path)
= link_to t(:my_account), spree_account_path, :class => "button"
= link_to t(:back_to_store), main_app.shop_path, :class => "button"
- unless params.has_key? :checkout_complete
- if try_spree_current_user && respond_to?(:spree_account_path)
= link_to t(:my_account), spree_account_path, :class => "button"