annotate .svn/pristine/f1/f1c64bdea4d0f86353af1a178444a94f946b25a3.svn-base @ 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 |
038ba2d95de8 |
children |
|
rev |
line source |
Chris@1296
|
1 <% if @entry && @entry.kind == 'file' %>
|
Chris@1296
|
2
|
Chris@1296
|
3 <p>
|
Chris@1296
|
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@1296
|
5 <% if @repository.supports_cat? %>
|
Chris@1296
|
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@1296
|
7 <% end %>
|
Chris@1296
|
8 <% if @repository.supports_annotate? %>
|
Chris@1296
|
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@1296
|
10 <% end %>
|
Chris@1296
|
11 <%= link_to(l(:button_download),
|
Chris@1296
|
12 {:action => 'raw', :id => @project,
|
Chris@1296
|
13 :repository_id => @repository.identifier_param,
|
Chris@1296
|
14 :path => to_path_param(@path),
|
Chris@1296
|
15 :rev => @rev}) if @repository.supports_cat? %>
|
Chris@1296
|
16 <%= "(#{number_to_human_size(@entry.size)})" if @entry.size %>
|
Chris@1296
|
17 </p>
|
Chris@1296
|
18
|
Chris@1296
|
19 <% end %>
|