2007-06-13 00:12:05 +04:00
|
|
|
<h2><%= render :partial => 'navigation', :locals => { :path => @path, :kind => (@entry ? @entry.kind : nil), :revision => @rev } %></h2>
|
|
|
|
|
|
|
|
<h3><%=h @entry.name %></h3>
|
|
|
|
|
|
|
|
<p>
|
2008-03-19 20:51:13 +03:00
|
|
|
<% if @repository.supports_cat? %>
|
|
|
|
<%= link_to l(:button_view), {:action => 'entry', :id => @project, :path => @path, :rev => @rev } %> |
|
|
|
|
<% end %>
|
|
|
|
<% if @repository.supports_annotate? %>
|
|
|
|
<%= link_to l(:button_annotate), {:action => 'annotate', :id => @project, :path => @path, :rev => @rev } %> |
|
2007-06-13 00:12:05 +04:00
|
|
|
<% end %>
|
2007-12-02 23:58:02 +03:00
|
|
|
<%= link_to(l(:button_download), {:action => 'entry', :id => @project, :path => @path, :rev => @rev, :format => 'raw' }) if @repository.supports_cat? %>
|
2007-06-13 00:12:05 +04:00
|
|
|
<%= "(#{number_to_human_size(@entry.size)})" if @entry.size %>
|
|
|
|
</p>
|
|
|
|
|
2008-06-08 19:46:15 +04:00
|
|
|
<%= render(:partial => 'revisions',
|
|
|
|
:locals => {:project => @project, :path => @path, :revisions => @changesets, :entry => @entry }) unless @changesets.empty? %>
|
2007-12-07 21:42:40 +03:00
|
|
|
|
2008-01-03 01:41:53 +03:00
|
|
|
<% html_title(l(:label_change_plural)) -%>
|