annotate .svn/pristine/87/8719788cc5feae1f6d13316748ca22d737c8a820.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 <div class="attachments">
Chris@909 2 <% for attachment in attachments %>
Chris@909 3 <p><%= link_to_attachment attachment, :class => 'icon icon-attachment' -%>
Chris@909 4 <%= h(" - #{attachment.description}") unless attachment.description.blank? %>
Chris@909 5 <span class="size">(<%= number_to_human_size attachment.filesize %>)</span>
Chris@909 6 <% if options[:deletable] %>
Chris@909 7 <%= link_to image_tag('delete.png'), attachment_path(attachment),
Chris@909 8 :confirm => l(:text_are_you_sure),
Chris@909 9 :method => :delete,
Chris@909 10 :class => 'delete',
Chris@909 11 :title => l(:button_delete) %>
Chris@909 12 <% end %>
Chris@909 13 <% if options[:author] %>
Chris@909 14 <span class="author"><%= h(attachment.author) %>, <%= format_time(attachment.created_on) %></span>
Chris@909 15 <% end %>
Chris@909 16 </p>
Chris@909 17 <% end %>
Chris@909 18 </div>