Sha256: bfb289de4eed59df7b9b169cabaf92907cf8b82ff5095d731319307a37c3053b

Contents?: true

Size: 410 Bytes

Versions: 5

Compression:

Stored size: 410 Bytes

Contents

<%
  auctions = []
@order.variants.each do |variant|
  if auction = variant.auction
    auctions << auction
  end
end
%>
<% if !auctions.empty? %>
  <dt data-hook='admin_order_tab_auctions_title'><%= Spree.t(:auctions) %>:</dt>
  <dd id='auction_links'>
    <% auctions.each do |auction| %>
      <p>
        <%= link_to auction.title, admin_auction_path(auction) %>
      </p>
    <% end %>
  </dd>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
solidus_auction-0.0.6 app/views/spree/admin/shared/_auction_links_to_order_info.html.erb
solidus_auction-0.0.5 app/views/spree/admin/shared/_auction_links_to_order_info.html.erb
solidus_auction-0.0.4 app/views/spree/admin/shared/_auction_links_to_order_info.html.erb
solidus_auction-0.0.3 app/views/spree/admin/shared/_auction_links_to_order_info.html.erb
solidus_auction-0.0.1 app/views/spree/admin/shared/_auction_links_to_order_info.html.erb