Project

General

Profile

Feature #779 » 0055-multiple-SCM-fix-navigation.patch

Luis Garcia, 2010-12-07 20:43

View differences:

patched/app/views/repositories/_breadcrumbs.rhtml 2010-12-07 17:06:11.000000000 +0100
<%= link_to 'root', :action => 'show', :id => @project, :path => '', :rev => @rev %>
<% if params[:rid] %>
(<%= @project.repository[params[:rid].to_i].url %>)
<% end %>
<%= link_to 'root', :action => 'show', :id => @project, :path => '', :rev => @rev , :rid => params[:rid]%>
<%
dirs = path.split('/')
if 'file' == kind
......
link_path << '/' unless link_path.empty?
link_path << "#{dir}"
%>
/ <%= link_to h(dir), :action => 'show', :id => @project, :path => to_path_param(link_path), :rev => @rev %>
/ <%= link_to h(dir), :action => 'show', :id => @project, :path => to_path_param(link_path), :rev => @rev, :rid => params[:rid] %>
<% end %>
<% if filename %>
/ <%= link_to h(filename), :action => 'changes', :id => @project, :path => to_path_param("#{link_path}/#{filename}"), :rev => @rev %>
/ <%= link_to h(filename), :action => 'changes', :id => @project, :path => to_path_param("#{link_path}/#{filename}"), :rev => @rev, :rid => params[:rid] %>
<% end %>
<%= "@ #{h revision}" if revision %>
(4-4/9)