diff --git a/app/views/files/index.html.erb b/app/views/files/index.html.erb index 0844fa355..a1b884850 100644 --- a/app/views/files/index.html.erb +++ b/app/views/files/index.html.erb @@ -16,7 +16,7 @@ -<% @containers.each do |container| %> +<% @containers.each do |container| %> <% next if container.attachments.empty? -%> <% if container.is_a?(Version) -%> @@ -25,7 +25,7 @@ <% end -%> - <% container.attachments.each do |file| %> + <% container.attachments.each do |file| %> "> <%= link_to_attachment file, :download => true, :title => file.description %> <%= format_time(file.created_on) %> @@ -36,7 +36,7 @@ <%= link_to(image_tag('delete.png'), {:controller => 'attachments', :action => 'destroy', :id => file}, :confirm => l(:text_are_you_sure), :method => :post) if delete_allowed %> - + <% end reset_cycle %> <% end %>