##// END OF EJS Templates
Rails3: view: use explicit post method at projects/settings/_modules.html.erb...
Rails3: view: use explicit post method at projects/settings/_modules.html.erb On Rails3, form_for generates hidden "put" input tag. So, 'No route matches "/projects/id/modules"' error raises. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8482 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r7445:4ecd65c4658c
r8362:bddd2a740d7a
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)) -%>