@@ -1,9 +1,9 | |||
|
1 | 1 | <p> |
|
2 | 2 | <% if @repository.supports_cat? %> |
|
3 | <%= link_to l(:button_view), {:action => 'entry', :id => @project, :path => to_path_param(@path), :rev => @rev } %> | | |
|
3 | <%= link_to_if action_name != 'entry', l(:button_view), {:action => 'entry', :id => @project, :path => to_path_param(@path), :rev => @rev } %> | | |
|
4 | 4 | <% end %> |
|
5 | 5 | <% if @repository.supports_annotate? %> |
|
6 | <%= link_to l(:button_annotate), {:action => 'annotate', :id => @project, :path => to_path_param(@path), :rev => @rev } %> | | |
|
6 | <%= link_to_if action_name != 'annotate', l(:button_annotate), {:action => 'annotate', :id => @project, :path => to_path_param(@path), :rev => @rev } %> | | |
|
7 | 7 | <% end %> |
|
8 | 8 | <%= link_to(l(:button_download), {:action => 'entry', :id => @project, :path => to_path_param(@path), :rev => @rev, :format => 'raw' }) if @repository.supports_cat? %> |
|
9 | 9 | <%= "(#{number_to_human_size(@entry.size)})" if @entry.size %> |
General Comments 0
You need to be logged in to leave comments.
Login now