This repository has been archived by the owner on Aug 15, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed some conflicts from a cherry-pick
- Loading branch information
Josh Adams
committed
Mar 12, 2009
1 parent
e228cfe
commit 7f6133d
Showing
3 changed files
with
8 additions
and
11 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
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
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,10 +1,8 @@ | ||
<div id="breadcrumb"> | ||
<% url = "" | ||
@breadcrumb.each do |crumb| | ||
url = (url != "") ? url + crumb.name + "/" : url = "/" %> | ||
<%= link_to crumb.title, ((url=='/')? '/pages/' + @root.name + '/' : url ) %> > | ||
<% end %> | ||
<% if @page -%> | ||
<b><%= (@pageNum!=nil)? link_to(@page.title, './') + " > page " + @pageNum.to_s : @page.title %></b> | ||
<% end -%> | ||
<div id="breadcrumb"> | ||
<% @breadcrumb.each do |crumb| %> | ||
<a href="/<%= crumb[0] -%>"><%= crumb[1] -%></a> > | ||
<% end %> | ||
<% if @page -%> | ||
<b><%= (@pageNum!=nil)? link_to(@page.title, './') + " > page " + @pageNum.to_s : @page.title %></b> | ||
<% end -%> | ||
</div> |