mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Order confirmation top page working on header label
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user