Sha256: 0057b08635e193ed58f2aa8503466a3d83c61906748092dba3c9f9dbb0b4d2b9

Contents?: true

Size: 1.07 KB

Versions: 9

Compression:

Stored size: 1.07 KB

Contents

<% if order_just_completed?(@order) %>
  <%= render partial: 'spree/shared/trackers/segment/order_complete.js',
             formats: :js,
             locals: { order: @order } %>
  <% content_for :google_analytics do %>
    <%= render partial: 'spree/shared/google_purchase.js', locals: { order: @order } %>
  <% end %>
<% end %>

<fieldset id="order_summary" data-hook>
  <legend><%= Spree.t(:order_number, number: @order.number) %></legend>
  <h1><%= accurate_title %></h1>
  <% if order_just_completed?(@order) %>
    <strong><%= Spree.t(:thank_you_for_your_order) %></strong>
  <% end %>

  <div id="order" data-hook>
    <%= render partial: 'spree/shared/order_details', locals: { order: @order } %>

    <br class="clear" />

    <p data-hook="links">
      <%= link_to Spree.t(:back_to_store), spree.root_path, class: "button" %>
      <% unless order_just_completed?(@order) %>
        <% if try_spree_current_user && respond_to?(:account_path) %>
          <%= link_to Spree.t(:my_account), account_path, class: "button" %>
        <% end %>
      <% end %>
    </p>
  </div>
</fieldset>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
spree_frontend-3.3.6 app/views/spree/orders/show.html.erb
spree_frontend-3.3.5 app/views/spree/orders/show.html.erb
spree_frontend-3.3.4 app/views/spree/orders/show.html.erb
spree_frontend-3.3.3 app/views/spree/orders/show.html.erb
spree_frontend-3.3.2 app/views/spree/orders/show.html.erb
spree_frontend-3.3.1 app/views/spree/orders/show.html.erb
spree_frontend-3.3.0 app/views/spree/orders/show.html.erb
spree_frontend-3.3.0.rc4 app/views/spree/orders/show.html.erb
spree_frontend-3.3.0.rc3 app/views/spree/orders/show.html.erb