annotate .svn/pristine/0b/0bfbd6508bed6a33543df0df9a316455bb2e521a.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 |
cbb26bc654de |
children |
|
rev |
line source |
Chris@909
|
1 <h2><%=h @attachment.filename %></h2>
|
Chris@909
|
2
|
Chris@909
|
3 <div class="attachments">
|
Chris@909
|
4 <p><%= h("#{@attachment.description} - ") unless @attachment.description.blank? %>
|
Chris@909
|
5 <span class="author"><%= link_to_user(@attachment.author) %>, <%= format_time(@attachment.created_on) %></span></p>
|
Chris@909
|
6 <p><%= link_to_attachment @attachment, :text => l(:button_download), :download => true -%>
|
Chris@909
|
7 <span class="size">(<%= number_to_human_size @attachment.filesize %>)</span></p>
|
Chris@909
|
8 </div>
|
Chris@909
|
9 <p>
|
Chris@909
|
10 <% form_tag({}, :method => 'get') do %>
|
Chris@909
|
11 <label><%= l(:label_view_diff) %></label>
|
Chris@909
|
12 <%= select_tag 'type',
|
Chris@909
|
13 options_for_select(
|
Chris@909
|
14 [[l(:label_diff_inline), "inline"], [l(:label_diff_side_by_side), "sbs"]], @diff_type),
|
Chris@909
|
15 :onchange => "if (this.value != '') {this.form.submit()}" %>
|
Chris@909
|
16 <% end %>
|
Chris@909
|
17 </p>
|
Chris@909
|
18 <%= render :partial => 'common/diff', :locals => {:diff => @diff, :diff_type => @diff_type} %>
|
Chris@909
|
19
|
Chris@909
|
20 <% html_title @attachment.filename %>
|
Chris@909
|
21
|
Chris@909
|
22 <% content_for :header_tags do -%>
|
Chris@909
|
23 <%= stylesheet_link_tag "scm" -%>
|
Chris@909
|
24 <% end -%>
|