Chris@1296: <% if @entry && @entry.kind == 'file' %> Chris@1296: Chris@1296:

Chris@1296: <%= link_to_if action_name != 'changes', l(:label_history), {:action => 'changes', :id => @project, :repository_id => @repository.identifier_param, :path => to_path_param(@path), :rev => @rev } %> | Chris@1296: <% if @repository.supports_cat? %> Chris@1296: <%= link_to_if action_name != 'entry', l(:button_view), {:action => 'entry', :id => @project, :repository_id => @repository.identifier_param, :path => to_path_param(@path), :rev => @rev } %> | Chris@1296: <% end %> Chris@1296: <% if @repository.supports_annotate? %> Chris@1296: <%= link_to_if action_name != 'annotate', l(:button_annotate), {:action => 'annotate', :id => @project, :repository_id => @repository.identifier_param, :path => to_path_param(@path), :rev => @rev } %> | Chris@1296: <% end %> Chris@1296: <%= link_to(l(:button_download), Chris@1296: {:action => 'raw', :id => @project, Chris@1296: :repository_id => @repository.identifier_param, Chris@1296: :path => to_path_param(@path), Chris@1296: :rev => @rev}) if @repository.supports_cat? %> Chris@1296: <%= "(#{number_to_human_size(@entry.size)})" if @entry.size %> Chris@1296:

Chris@1296: Chris@1296: <% end %>