annotate app/views/repositories/_link_to_functions.rhtml @ 1178:970f82375f2e bug_362

Close obsolete branch bug_362
author Chris Cannam
date Wed, 01 Feb 2012 13:40:49 +0000
parents 513646585e45
children
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 %>