Sha256: fc1b60cc77de4ce7a9a5d84c7bb3bcb4cb9de45aee9bceff727d0e8d3d087a8a

Contents?: true

Size: 596 Bytes

Versions: 11

Compression:

Stored size: 596 Bytes

Contents

<h1><%= @taxon.name %></h1>

<% content_for :sidebar do %>
  <%= hook :taxon_sidebar_navigation do %>
    <%= render :partial => "shared/taxonomies" %>
    <%= render(:partial => "shared/filters") if @taxon.children.empty? %>
  <% end %>
<% end %>

<% if @taxon.children.empty? || !params[:keywords].blank? %>
  <%= hook :taxon_products do %>
    <%= render :partial => "shared/products", :locals => {:products => @products, :taxon => @taxon } %>
  <% end %>
<% else %>
  <%= hook :taxon_children do %>
    <%= render :partial => "taxon", :collection => @taxon.children %>
  <% end %>
<% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
spree_core-0.40.4 app/views/taxons/show.html.erb
spree_core-0.50.4 app/views/taxons/show.html.erb
spree_core-0.50.3 app/views/taxons/show.html.erb
spree_core-0.60.0.RC1 app/views/taxons/show.html.erb
spree_core-0.50.2 app/views/taxons/show.html.erb
spree_core-0.50.1 app/views/taxons/show.html.erb
spree_core-0.50.0 app/views/taxons/show.html.erb
spree_core-0.40.3 app/views/taxons/show.html.erb
spree_core-0.40.2 app/views/taxons/show.html.erb
spree_core-0.40.1 app/views/taxons/show.html.erb
spree_core-0.40.0 app/views/taxons/show.html.erb