2008-12-22 23:33:01 +03:00
|
|
|
<p>
|
2009-07-18 13:59:55 +04:00
|
|
|
<%= link_to_if action_name != 'changes', l(:label_history), {:action => 'changes', :id => @project, :path => to_path_param(@path), :rev => @rev } %> |
|
2008-12-22 23:33:01 +03:00
|
|
|
<% if @repository.supports_cat? %>
|
2008-12-27 21:10:36 +03:00
|
|
|
<%= link_to_if action_name != 'entry', l(:button_view), {:action => 'entry', :id => @project, :path => to_path_param(@path), :rev => @rev } %> |
|
2008-12-22 23:33:01 +03:00
|
|
|
<% end %>
|
|
|
|
<% if @repository.supports_annotate? %>
|
2008-12-27 21:10:36 +03:00
|
|
|
<%= link_to_if action_name != 'annotate', l(:button_annotate), {:action => 'annotate', :id => @project, :path => to_path_param(@path), :rev => @rev } %> |
|
2008-12-22 23:33:01 +03:00
|
|
|
<% end %>
|
|
|
|
<%= link_to(l(:button_download), {:action => 'entry', :id => @project, :path => to_path_param(@path), :rev => @rev, :format => 'raw' }) if @repository.supports_cat? %>
|
|
|
|
<%= "(#{number_to_human_size(@entry.size)})" if @entry.size %>
|
|
|
|
</p>
|