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