Sha256: 7da99a39a57181900cb30cd9b9f3a1068686881c4ecd1d98469a01dd8d71e7f8

Contents?: true

Size: 634 Bytes

Versions: 13

Compression:

Stored size: 634 Bytes

Contents

<div id="taxonomies" class="sidebar-item">
  <% get_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

13 entries across 13 versions & 1 rubygems

Version Path
spree_core-0.60.6 app/views/shared/_taxonomies.html.erb
spree_core-0.60.5 app/views/shared/_taxonomies.html.erb
spree_core-0.50.4 app/views/shared/_taxonomies.html.erb
spree_core-0.60.4 app/views/shared/_taxonomies.html.erb
spree_core-0.50.3 app/views/shared/_taxonomies.html.erb
spree_core-0.60.3 app/views/shared/_taxonomies.html.erb
spree_core-0.60.2 app/views/shared/_taxonomies.html.erb
spree_core-0.60.1 app/views/shared/_taxonomies.html.erb
spree_core-0.60.0 app/views/shared/_taxonomies.html.erb
spree_core-0.60.0.RC1 app/views/shared/_taxonomies.html.erb
spree_core-0.50.2 app/views/shared/_taxonomies.html.erb
spree_core-0.50.1 app/views/shared/_taxonomies.html.erb
spree_core-0.50.0 app/views/shared/_taxonomies.html.erb