Sha256: 49fa1ac5bc87747103c7729b2e1a942b8b0b75148fa3ff0dd41ec6d1e659de89

Contents?: true

Size: 537 Bytes

Versions: 5

Compression:

Stored size: 537 Bytes

Contents

<% if item.variant.option_values.any? || item.variant.is_master?%>
  <td data-hook="order_item_description">
    <h4><%= item.variant.product.name %></h4>
    <%= truncated_product_description(item.variant.product) %>
    <%= "(" + item.variant.options_text + ")" unless item.variant.option_values.empty? %>
  </td>
<% else %>
  <td data-hook="order_item_description">
    <% auction = item.variant.auction %>
    <h4>
      <%= link_to auction.title, auction %>
    </h4>
    <%= truncate_html(auction.description) %>
  </td>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

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