##// END OF EJS Templates
Updated 1.3 CHANGELOG....
Updated 1.3 CHANGELOG. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.3-stable@9407 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r7445:4ecd65c4658c
r9273:d85f8425d963
Show More
_breadcrumbs.html.erb
28 lines | 910 B | text/plain | TextLexer
/ app / views / repositories / _breadcrumbs.html.erb
Eric Davis
Added branch and tag support to the git repository viewer. (#1406)...
r2735 <%= link_to 'root', :action => 'show', :id => @project, :path => '', :rev => @rev %>
Toshi MARUYAMA
remove trailing white-spaces from app/views/repositories/_breadcrumbs.html.erb...
r7146 <%
Eric Davis
Added branch and tag support to the git repository viewer. (#1406)...
r2735 dirs = path.split('/')
if 'file' == kind
filename = dirs.pop
end
link_path = ''
dirs.each do |dir|
next if dir.blank?
link_path << '/' unless link_path.empty?
Toshi MARUYAMA
remove trailing white-spaces from app/views/repositories/_breadcrumbs.html.erb...
r7146 link_path << "#{dir}"
Eric Davis
Added branch and tag support to the git repository viewer. (#1406)...
r2735 %>
Toshi MARUYAMA
scm: recovery showing "root @ branch" in repository tree viewing....
r5019 / <%= link_to h(dir), :action => 'show', :id => @project,
:path => to_path_param(link_path), :rev => @rev %>
Eric Davis
Added branch and tag support to the git repository viewer. (#1406)...
r2735 <% end %>
<% if filename %>
Toshi MARUYAMA
scm: recovery showing "root @ branch" in repository tree viewing....
r5019 / <%= link_to h(filename),
:action => 'changes', :id => @project,
:path => to_path_param("#{link_path}/#{filename}"), :rev => @rev %>
Eric Davis
Added branch and tag support to the git repository viewer. (#1406)...
r2735 <% end %>
Toshi MARUYAMA
scm: recovery showing "root @ branch" in repository tree viewing....
r5019 <%
# @rev is revsion or Git and Mercurial branch or tag.
# For Mercurial *tip*, @rev and @changeset are nil.
rev_text = @changeset.nil? ? @rev : format_revision(@changeset)
%>
Toshi MARUYAMA
scm: use blank? for "root @ branch" in repository tree viewing....
r5027 <%= "@ #{h rev_text}" unless rev_text.blank? %>
Eric Davis
Added branch and tag support to the git repository viewer. (#1406)...
r2735
Etienne Massip
Remove unecessary page title HTML escaping from views (#9252)....
r7445 <% html_title(with_leading_slash(path)) -%>