Sha256: 4ef5ffee75f5cc7af95d6a752de257931ccd5ff01383ae29a7f9c56b1942a2f7

Contents?: true

Size: 1.06 KB

Versions: 4

Compression:

Stored size: 1.06 KB

Contents

<% if variant.option_values.any? || variant.is_master?%>
  <td class="cart-item-description" data-hook="cart_item_description">
    <h4><%= link_to line_item.name, product_path(variant.product) %></h4>
    <%= variant.options_text %>
    <% if line_item.insufficient_stock? %>
      <span class="out-of-stock">
        <%= t('spree.out_of_stock') %>&nbsp;&nbsp;<br />
      </span>
    <% end %>
    <span class="line-item-description" data-hook="line_item_description">
      <%= line_item_description_text(line_item.description) %>
    </span>
  </td>
<% else %>
  <% auction = variant.auction %>
  <td class="cart-item-description" data-hook="cart_item_description">
    <h4><%= link_to auction.title, auction %></h4>
    <span class="line-item-description" data-hook="line_item_description">
      <%= line_item_description_text(auction.description) %>
    </span>
    &nbsp;<br />
    <span class="line-item-description" data-hook="line_item_checkout_deadline">
      <%= render partial: 'spree/shared/checkout_in', locals: { auction: auction } %>
    </span>
  </td>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
solidus_auction-0.0.6 app/views/spree/shared/_line_item_link_to.erb
solidus_auction-0.0.5 app/views/spree/shared/_line_item_link_to.erb
solidus_auction-0.0.4 app/views/spree/shared/_line_item_link_to.erb
solidus_auction-0.0.3 app/views/spree/shared/_line_item_link_to.erb