Skip to content

Commit

Permalink
Adding sample data.
Browse files Browse the repository at this point in the history
  • Loading branch information
Steph Powell committed Jun 29, 2010
1 parent b8c722f commit b447ca6
Show file tree
Hide file tree
Showing 280 changed files with 1,016 additions and 315 deletions.
2 changes: 1 addition & 1 deletion vendor/extensions/site/app/views/shared/_nav_bar.html.erb
Expand Up @@ -21,4 +21,4 @@
</div>

<%#= render "shared/filters" %>
<%#= render "shared/taxonomies" %>
<%= render "shared/taxonomies" %>
11 changes: 6 additions & 5 deletions vendor/extensions/site/app/views/shared/_taxonomies.html.erb
@@ -1,12 +1,13 @@
<% if false -%>
<li id="taxonomies">
<div id="taxonomies">
<% 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>
<li class="parent">Browse
<ul>
<% 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>
</li>
</ul>
<% end %>
</li>
<% end -%>
</div>

0 comments on commit b447ca6

Please sign in to comment.