Sha256: c9232d4ddc6f83d54a774a41f98d5f28bc983549c914a20f3b3005f3e9ce64ea

Contents?: true

Size: 796 Bytes

Versions: 19

Compression:

Stored size: 796 Bytes

Contents

<% content_for :sidebar do %>
  <div data-hook="homepage_sidebar_navigation">
    <% if "products" == @current_controller && @taxon %>
      <%= render :partial => 'spree/shared/filters' %>
    <% else %>
      <%= render :partial => 'spree/shared/taxonomies' %>
    <% end %>
  </div>
<% end %>


<% if params[:keywords] %>

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

<% else %>

  <div data-hook="homepage_products">
    <%= render :partial => 'spree/shared/products', :locals => { :products => @products, :taxon => @taxon } %>
  </div>
<% end %>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
spree_core-1.1.6 app/views/spree/products/index.html.erb
spree_core-1.1.5 app/views/spree/products/index.html.erb
spree_core-1.0.7 app/views/spree/products/index.html.erb
spree_core-1.1.4 app/views/spree/products/index.html.erb
spree_core-1.1.3 app/views/spree/products/index.html.erb
spree_core-1.0.6 app/views/spree/products/index.html.erb
spree_core-1.1.2 app/views/spree/products/index.html.erb
spree_core-1.1.2.rc1 app/views/spree/products/index.html.erb
spree_core-1.1.1 app/views/spree/products/index.html.erb
spree_core-1.1.0 app/views/spree/products/index.html.erb
spree_core-1.0.4 app/views/spree/products/index.html.erb
spree_core-1.1.0.rc2 app/views/spree/products/index.html.erb
spree_core-1.1.0.rc1 app/views/spree/products/index.html.erb
spree_core-1.0.3 app/views/spree/products/index.html.erb
spree_core-1.0.2 app/views/spree/products/index.html.erb
spree_core-1.0.1 app/views/spree/products/index.html.erb
spree_core-1.0.0 app/views/spree/products/index.html.erb
spree_core-1.0.0.rc4 app/views/spree/products/index.html.erb
spree_core-1.0.0.rc3 app/views/spree/products/index.html.erb