Sha256: 549e5e13c989b123394ed293ebb17cbd92cb23777eb13fec332953ff149e589c

Contents?: true

Size: 470 Bytes

Versions: 74

Compression:

Stored size: 470 Bytes

Contents

<% max_level = Spree::Config[:max_level_in_taxons_menu] || 1 %>

<nav id="taxonomies" class="sidebar-item" data-hook>
  <% @taxonomies.each do |taxonomy| %>
    <% cache [I18n.locale, taxonomy, max_level, @taxon] do %>
      <% if taxonomy.root.children.any? %>
        <h4 class='taxonomy-root'><%= Spree.t(:shop_by_taxonomy, taxonomy: taxonomy.name) %></h4>
        <%= taxons_tree(taxonomy.root, @taxon, max_level) %>
      <% end %>
    <% end %>
  <% end %>
</nav>

Version data entries

74 entries across 74 versions & 2 rubygems

Version Path
goca-spree-frontend-3.1.14.rails.5.0.1 app/views/spree/shared/_taxonomies.html.erb
goca-spree-frontend-3.1.14.rails.5.0 app/views/spree/shared/_taxonomies.html.erb
spree_frontend-3.7.14.1 app/views/spree/shared/_taxonomies.html.erb
spree_frontend-3.7.14 app/views/spree/shared/_taxonomies.html.erb
spree_frontend-3.7.13 app/views/spree/shared/_taxonomies.html.erb
spree_frontend-3.7.12 app/views/spree/shared/_taxonomies.html.erb
spree_frontend-3.7.11 app/views/spree/shared/_taxonomies.html.erb
spree_frontend-3.4.6 app/views/spree/shared/_taxonomies.html.erb
spree_frontend-3.7.10 app/views/spree/shared/_taxonomies.html.erb
spree_frontend-3.7.9 app/views/spree/shared/_taxonomies.html.erb
spree_frontend-3.7.8 app/views/spree/shared/_taxonomies.html.erb
spree_frontend-3.7.7 app/views/spree/shared/_taxonomies.html.erb
spree_frontend-3.7.6 app/views/spree/shared/_taxonomies.html.erb
spree_frontend-3.7.5 app/views/spree/shared/_taxonomies.html.erb
spree_frontend-3.7.4 app/views/spree/shared/_taxonomies.html.erb
spree_frontend-3.7.3 app/views/spree/shared/_taxonomies.html.erb
spree_frontend-3.7.2 app/views/spree/shared/_taxonomies.html.erb
spree_frontend-3.7.1 app/views/spree/shared/_taxonomies.html.erb
spree_frontend-3.7.0 app/views/spree/shared/_taxonomies.html.erb
spree_frontend-3.7.0.rc3 app/views/spree/shared/_taxonomies.html.erb