Sha256: e1d541a6291f8d1707abb2f9fe954746ab332f6b40a73d9a12e2d7ccbb579065

Contents?: true

Size: 973 Bytes

Versions: 33

Compression:

Stored size: 973 Bytes

Contents

<% if "spree/products" == params[:controller] && @taxon || !@taxonomies.empty? %>
  <% content_for :sidebar do %>
    <div data-hook="homepage_sidebar_navigation">
      <% if "spree/products" == params[:controller] && @taxon %>
        <%= render :partial => 'spree/shared/filters' %>
      <% else %>
        <%= render :partial => 'spree/shared/taxonomies' %>
      <% end %>
    </div>
  <% end %>
<% end %>

<% if params[:keywords] %>
  <div data-hook="search_results">
    <% if @products.empty? %>
      <h6 class="search-results-title"><%= Spree.t(:no_products_found) %></h6>
    <% else %>
      <%= render :partial => 'spree/shared/products', :locals => { :products => @products, :taxon => @taxon } %>
    <% end %>
  </div>
<% else %>
  <div data-hook="homepage_products">
    <% cache(cache_key_for_products) do %>
      <%= render :partial => 'spree/shared/products', :locals => { :products => @products, :taxon => @taxon } %>
    <% end %>
  </div>
<% end %>

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
spree_frontend-3.1.14 app/views/spree/products/index.html.erb
spree_frontend-3.1.13 app/views/spree/products/index.html.erb
spree_frontend-3.1.12 app/views/spree/products/index.html.erb
spree_frontend-3.1.11 app/views/spree/products/index.html.erb
spree_frontend-3.1.10 app/views/spree/products/index.html.erb
spree_frontend-3.1.9 app/views/spree/products/index.html.erb
spree_frontend-3.1.8 app/views/spree/products/index.html.erb
spree_frontend-3.1.7 app/views/spree/products/index.html.erb
spree_frontend-3.1.6 app/views/spree/products/index.html.erb
spree_frontend-3.1.5 app/views/spree/products/index.html.erb
spree_frontend-3.1.4 app/views/spree/products/index.html.erb
spree_frontend-3.1.3 app/views/spree/products/index.html.erb
spree_frontend-3.1.2 app/views/spree/products/index.html.erb
spree_frontend-3.0.10 app/views/spree/products/index.html.erb
spree_frontend-3.1.1 app/views/spree/products/index.html.erb
spree_frontend-3.1.0 app/views/spree/products/index.html.erb
spree_frontend-3.1.0.rc4 app/views/spree/products/index.html.erb
spree_frontend-3.0.9 app/views/spree/products/index.html.erb
spree_frontend-3.1.0.rc3 app/views/spree/products/index.html.erb
spree_frontend-3.1.0.rc2 app/views/spree/products/index.html.erb