Sha256: 1e98ccae0a349d357b588742c3be7792c88193908c4c7442d2fad078580c9e30

Contents?: true

Size: 883 Bytes

Versions: 40

Compression:

Stored size: 883 Bytes

Contents

<% content_for :head do %>
  <% if products.respond_to?(:total_pages) %>
    <%= rel_next_prev_link_tags products %>
  <% end %>
<% end %>

<div data-hook="products_search_results_heading">
  <% if products.empty? %>
    <div data-hook="products_search_results_heading_no_results_found">
      <%= Spree.t(:no_products_found) %>
    </div>
  <% elsif params.key?(:keywords) %>
    <div data-hook="products_search_results_heading_results_found">
      <h6 class="search-results-title"><%= Spree.t(:search_results, keywords: h(params[:keywords])) %></h6>
    </div>
  <% end %>
</div>

<% if products.any? %>
  <div id="products" class="row" data-hook>
    <%= render partial: 'spree/products/product', collection: products, locals: { taxon: @taxon } %>
  </div>
<% end %>

<% if products.respond_to?(:total_pages) %>
  <%= paginate products, theme: 'twitter-bootstrap-3' %>
<% end %>

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
spree_frontend-3.7.14.1 app/views/spree/shared/_products.html.erb
spree_frontend-3.7.14 app/views/spree/shared/_products.html.erb
spree_frontend-3.7.13 app/views/spree/shared/_products.html.erb
spree_frontend-3.7.12 app/views/spree/shared/_products.html.erb
spree_frontend-3.7.11 app/views/spree/shared/_products.html.erb
spree_frontend-3.7.10 app/views/spree/shared/_products.html.erb
spree_frontend-3.7.9 app/views/spree/shared/_products.html.erb
spree_frontend-3.7.8 app/views/spree/shared/_products.html.erb
spree_frontend-3.7.7 app/views/spree/shared/_products.html.erb
spree_frontend-3.7.6 app/views/spree/shared/_products.html.erb
spree_frontend-3.7.5 app/views/spree/shared/_products.html.erb
spree_frontend-3.7.4 app/views/spree/shared/_products.html.erb
spree_frontend-3.7.3 app/views/spree/shared/_products.html.erb
spree_frontend-3.7.2 app/views/spree/shared/_products.html.erb
spree_frontend-3.7.1 app/views/spree/shared/_products.html.erb
spree_frontend-3.7.0 app/views/spree/shared/_products.html.erb
spree_frontend-3.7.0.rc3 app/views/spree/shared/_products.html.erb
spree_frontend-3.7.0.rc2 app/views/spree/shared/_products.html.erb
spree_frontend-3.7.0.rc1 app/views/spree/shared/_products.html.erb
spree_frontend-3.6.6 app/views/spree/shared/_products.html.erb