Sha256: 9e2daa61393884fe11e6577cb3e6930151d839658ee469eca7c6049513c7d7c6

Contents?: true

Size: 1.1 KB

Versions: 34

Compression:

Stored size: 1.1 KB

Contents

<%= link_to(@repository.identifier.present? ? @repository.identifier : 'root',
      :action => 'show', :id => @project,
      :repository_id => @repository.identifier_param,
      :path => nil, :rev => @rev) %>
<%
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?
    link_path << "#{dir}"
    %>
    / <%= link_to dir, :action => 'show', :id => @project, :repository_id => @repository.identifier_param,
                :path => to_path_param(link_path), :rev => @rev %>
<% end %>
<% if filename %>
    / <%= link_to filename,
                   :action => 'changes', :id => @project, :repository_id => @repository.identifier_param,
                   :path => to_path_param("#{link_path}/#{filename}"), :rev => @rev %>
<% end %>
<%
  # @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)
%>
<%= "@ #{rev_text}" unless rev_text.blank? %>

<% html_title(with_leading_slash(path)) -%>

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
redmine_extensions-0.0.39 spec/redmine/app/views/repositories/_breadcrumbs.html.erb
redmine_extensions-0.0.38 spec/redmine/app/views/repositories/_breadcrumbs.html.erb
redmine_extensions-0.0.37 spec/redmine/app/views/repositories/_breadcrumbs.html.erb
redmine_extensions-0.1.11 spec/redmine/app/views/repositories/_breadcrumbs.html.erb
redmine_extensions-0.1.10 spec/redmine/app/views/repositories/_breadcrumbs.html.erb
redmine_extensions-0.0.36 spec/redmine/app/views/repositories/_breadcrumbs.html.erb
redmine_extensions-0.0.34 spec/redmine/app/views/repositories/_breadcrumbs.html.erb
redmine_extensions-0.1.09 spec/redmine/app/views/repositories/_breadcrumbs.html.erb
redmine_extensions-0.1.07 spec/redmine/app/views/repositories/_breadcrumbs.html.erb
redmine_extensions-0.1.06 spec/redmine/app/views/repositories/_breadcrumbs.html.erb
redmine_extensions-0.1.05 spec/redmine/app/views/repositories/_breadcrumbs.html.erb
redmine_extensions-0.1.04 spec/redmine/app/views/repositories/_breadcrumbs.html.erb
redmine_extensions-0.1.03 spec/redmine/app/views/repositories/_breadcrumbs.html.erb
redmine_extensions-0.0.33 spec/redmine/app/views/repositories/_breadcrumbs.html.erb
redmine_extensions-0.1.02 spec/redmine/app/views/repositories/_breadcrumbs.html.erb
redmine_extensions-0.1.01 spec/redmine/app/views/repositories/_breadcrumbs.html.erb
redmine_extensions-0.0.29 spec/redmine/app/views/repositories/_breadcrumbs.html.erb
redmine_extensions-0.0.28 spec/redmine/app/views/repositories/_breadcrumbs.html.erb
redmine_extensions-0.0.27 spec/redmine/app/views/repositories/_breadcrumbs.html.erb
redmine_extensions-0.0.24 spec/redmine/app/views/repositories/_breadcrumbs.html.erb