Mercurial > hg > soundsoftware-site
comparison app/views/repositories/_link_to_functions.html.erb @ 908:c6c2cbd0afee redmine-1.3
Rename .rhtml files to .html.erb in preparation for merge
author | Chris Cannam |
---|---|
date | Fri, 24 Feb 2012 18:36:29 +0000 |
parents | app/views/repositories/_link_to_functions.rhtml@513646585e45 |
children | 433d4f72a19b |
comparison
equal
deleted
inserted
replaced
907:df51e8ff578d | 908:c6c2cbd0afee |
---|---|
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 %> |