|
|
|
@ -1,7 +1,8 @@
|
|
|
|
|
<%= link_to(@repository.identifier.present? ? h(@repository.identifier) : 'root',
|
|
|
|
|
:action => 'show', :id => @project,
|
|
|
|
|
<%= link_to @repository.identifier.present? ? h(@repository.identifier) : 'root',
|
|
|
|
|
{:action => 'show', :id => @project,
|
|
|
|
|
:repository_id => @repository.identifier_param,
|
|
|
|
|
:path => nil, :rev => @rev) %>
|
|
|
|
|
:path => nil, :rev => @rev },
|
|
|
|
|
:class=>"fl c_blue f14 fb" %>
|
|
|
|
|
<%
|
|
|
|
|
dirs = path.split('/')
|
|
|
|
|
if 'file' == kind
|
|
|
|
@ -24,8 +25,8 @@
|
|
|
|
|
<%
|
|
|
|
|
# @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 = @changeset.nil? ? "master" : format_revision(@changeset)
|
|
|
|
|
%>
|
|
|
|
|
<%= "@ #{h rev_text}" unless rev_text.blank? %>
|
|
|
|
|
<p class="fl f14 fb c_grey02"><%= "@ #{h rev_text}" unless rev_text.blank? %></p>
|
|
|
|
|
|
|
|
|
|
<% html_title(with_leading_slash(path)) -%>
|
|
|
|
|