Chris@0: <% if @entry && @entry.kind == 'file' %> Chris@0: Chris@0:
Chris@1115: <%= 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@0: <% if @repository.supports_cat? %> Chris@1115: <%= 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@0: <% end %> Chris@0: <% if @repository.supports_annotate? %> Chris@1115: <%= 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@0: <% end %> Chris@1115: <%= link_to(l(:button_download), Chris@1115: {:action => 'raw', :id => @project, Chris@1115: :repository_id => @repository.identifier_param, Chris@1115: :path => to_path_param(@path), Chris@1115: :rev => @rev}) if @repository.supports_cat? %> Chris@0: <%= "(#{number_to_human_size(@entry.size)})" if @entry.size %> Chris@0:
Chris@0: Chris@0: <% end %>