Sha256: e1723ce256132e8e9d6c2f577b3f33519f39f6d7c7ade46bb020f99c4977739a

Contents?: true

Size: 529 Bytes

Versions: 7

Compression:

Stored size: 529 Bytes

Contents

<div id="taxonomies" class="sidebar-item">
<% @taxonomies.each do |taxonomy| %>
  <ul class="navigation-list">
	  <li<%= ' class="current"' if @taxon && @taxon == taxonomy.root %>><%= link_to t("shop_by_taxonomy", :taxonomy => taxonomy.name.singularize), seo_url(taxonomy.root), :class => 'root' %></li>
	  <% taxonomy.root.children.each do |taxon| %>
	    <li<%= ' class="current"' if @taxon and ([@taxon] + @taxon.ancestors).include?(taxon) %>><%= link_to taxon.name, seo_url(taxon) %></li>
	  <% end %>
	</ul>
<% end %>
</div>

Version data entries

7 entries across 7 versions & 3 rubygems

Version Path
kdmny-spree-0.0.1 app/views/shared/_taxonomies.html.erb
spree-enriquez-0.9.4 app/views/shared/_taxonomies.html.erb
spree-0.9.4 app/views/shared/_taxonomies.html.erb
spree-0.9.3 app/views/shared/_taxonomies.html.erb
spree-0.9.2 app/views/shared/_taxonomies.html.erb
spree-0.9.1 app/views/shared/_taxonomies.html.erb
spree-0.9.0 app/views/shared/_taxonomies.html.erb