annotate app/views/repositories/_link_to_functions.html.erb @ 1524:82fac3dcf466
redmine-2.5-integration
Fix failure to interpret Javascript when autocompleting members for project
author |
Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
date |
Thu, 11 Sep 2014 10:24:38 +0100 |
parents |
433d4f72a19b |
children |
|
rev |
line source |
Chris@0
|
1 <% if @entry && @entry.kind == 'file' %>
|
Chris@0
|
2
|
Chris@0
|
3 <p>
|
Chris@1115
|
4 <%= link_to_if action_name != 'changes', l(:label_history), {:action => 'changes', :id => @project, :repository_id => @repository.identifier_param, :path => to_path_param(@path), :rev => @rev } %> |
|
Chris@0
|
5 <% if @repository.supports_cat? %>
|
Chris@1115
|
6 <%= link_to_if action_name != 'entry', l(:button_view), {:action => 'entry', :id => @project, :repository_id => @repository.identifier_param, :path => to_path_param(@path), :rev => @rev } %> |
|
Chris@0
|
7 <% end %>
|
Chris@0
|
8 <% if @repository.supports_annotate? %>
|
Chris@1115
|
9 <%= link_to_if action_name != 'annotate', l(:button_annotate), {:action => 'annotate', :id => @project, :repository_id => @repository.identifier_param, :path => to_path_param(@path), :rev => @rev } %> |
|
Chris@0
|
10 <% end %>
|
Chris@1115
|
11 <%= link_to(l(:button_download),
|
Chris@1115
|
12 {:action => 'raw', :id => @project,
|
Chris@1115
|
13 :repository_id => @repository.identifier_param,
|
Chris@1115
|
14 :path => to_path_param(@path),
|
Chris@1115
|
15 :rev => @rev}) if @repository.supports_cat? %>
|
Chris@0
|
16 <%= "(#{number_to_human_size(@entry.size)})" if @entry.size %>
|
Chris@0
|
17 </p>
|
Chris@0
|
18
|
Chris@0
|
19 <% end %>
|