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