##// END OF EJS Templates
Deprecates unused stuff (#12909)....
Deprecates unused stuff (#12909). git-svn-id: http://svn.redmine.org/redmine/trunk@15338 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r13661:b778c51e9049
r14956:db64340419ec
Show More
_breadcrumbs.html.erb
31 lines | 1.1 KiB | text/plain | TextLexer
/ app / views / repositories / _breadcrumbs.html.erb
Jean-Philippe Lang
Removed unneeded #h calls in views....
r13661 <%= link_to(@repository.identifier.present? ? @repository.identifier : 'root',
Toshi MARUYAMA
scm: fix broken main repository 'root' link...
r9430 :action => 'show', :id => @project,
:repository_id => @repository.identifier_param,
:path => nil, :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 %>
Jean-Philippe Lang
Removed unneeded #h calls in views....
r13661 / <%= link_to dir, :action => 'show', :id => @project, :repository_id => @repository.identifier_param,
Toshi MARUYAMA
scm: recovery showing "root @ branch" in repository tree viewing....
r5019 :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 %>
Jean-Philippe Lang
Removed unneeded #h calls in views....
r13661 / <%= link_to filename,
Jean-Philippe Lang
Adds support for multiple repositories per project (#779)....
r8530 :action => 'changes', :id => @project, :repository_id => @repository.identifier_param,
Toshi MARUYAMA
scm: recovery showing "root @ branch" in repository tree viewing....
r5019 :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)
%>
Jean-Philippe Lang
Removed unneeded #h calls in views....
r13661 <%= "@ #{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)) -%>