To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / app / views / repositories / .svn / text-base / _link_to_functions.rhtml.svn-base @ 442:753f1380d6bc
History | View | Annotate | Download (847 Bytes)
| 1 |
<% if @entry && @entry.kind == 'file' %> |
|---|---|
| 2 |
|
| 3 |
<p> |
| 4 |
<%= link_to_if action_name != 'changes', l(:label_history), {:action => 'changes', :id => @project, :path => to_path_param(@path), :rev => @rev } %> |
|
| 5 |
<% if @repository.supports_cat? %> |
| 6 |
<%= link_to_if action_name != 'entry', l(:button_view), {:action => 'entry', :id => @project, :path => to_path_param(@path), :rev => @rev } %> |
|
| 7 |
<% end %> |
| 8 |
<% if @repository.supports_annotate? %> |
| 9 |
<%= link_to_if action_name != 'annotate', l(:button_annotate), {:action => 'annotate', :id => @project, :path => to_path_param(@path), :rev => @rev } %> |
|
| 10 |
<% end %> |
| 11 |
<%= link_to(l(:button_download), {:action => 'entry', :id => @project, :path => to_path_param(@path), :rev => @rev, :format => 'raw' }) if @repository.supports_cat? %>
|
| 12 |
<%= "(#{number_to_human_size(@entry.size)})" if @entry.size %>
|
| 13 |
</p> |
| 14 |
|
| 15 |
<% end %> |