Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Steph Powell
committed
Jun 29, 2010
1 parent
b8c722f
commit b447ca6
Showing
280 changed files
with
1,016 additions
and
315 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,4 +21,4 @@ | |
</div> | ||
|
||
<%#= render "shared/filters" %> | ||
<%#= render "shared/taxonomies" %> | ||
<%= render "shared/taxonomies" %> |
11 changes: 6 additions & 5 deletions
11
vendor/extensions/site/app/views/shared/_taxonomies.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
Oops, something went wrong.