annotate app/views/repositories/_link_to_functions.html.erb @ 1478:5ca1f4a47171 bibplugin_db_migrations

Close obsolete branch bibplugin_db_migrations
author Chris Cannam
date Fri, 30 Nov 2012 14:40:50 +0000
parents c6c2cbd0afee
children 433d4f72a19b
rev   line source
Chris@0 1 <% if @entry && @entry.kind == 'file' %>
Chris@0 2
Chris@0 3 <p>
Chris@0 4 <%= link_to_if action_name != 'changes', l(:label_history), {:action => 'changes', :id => @project, :path => to_path_param(@path), :rev => @rev } %> |
Chris@0 5 <% if @repository.supports_cat? %>
Chris@0 6 <%= link_to_if action_name != 'entry', l(:button_view), {:action => 'entry', :id => @project, :path => to_path_param(@path), :rev => @rev } %> |
Chris@0 7 <% end %>
Chris@0 8 <% if @repository.supports_annotate? %>
Chris@0 9 <%= link_to_if action_name != 'annotate', l(:button_annotate), {:action => 'annotate', :id => @project, :path => to_path_param(@path), :rev => @rev } %> |
Chris@0 10 <% end %>
Chris@0 11 <%= link_to(l(:button_download), {:action => 'entry', :id => @project, :path => to_path_param(@path), :rev => @rev, :format => 'raw' }) if @repository.supports_cat? %>
Chris@0 12 <%= "(#{number_to_human_size(@entry.size)})" if @entry.size %>
Chris@0 13 </p>
Chris@0 14
Chris@0 15 <% end %>