diff --git a/app/views/files/_sort_by_attachtypel.html.erb b/app/views/files/_sort_by_attachtypel.html.erb index d07ed399c..0544a4b66 100644 --- a/app/views/files/_sort_by_attachtypel.html.erb +++ b/app/views/files/_sort_by_attachtypel.html.erb @@ -1,51 +1,54 @@ -<% selAttachType =@attachtype%> +<% selAttachType =@attachtype %> <% delete_allowed = User.current.allowed_to?(:manage_files, @project) %> -
<%= link_to_attachment file, :download => true, :title => file.filename+"\n"+file.description.to_s, :style => "width: 230px; overflow: hidden; white-space: nowrap;text-overflow: ellipsis;" %> | -<%= format_time(file.created_on) %> | -<%= number_to_human_size(file.filesize) %> | -<%= file.attachmentstype.typeName %> | -<%= file.downloads %> | - -- <%= link_to(image_tag('delete.png'), attachment_path(file), - :data => {:confirm => l(:text_are_you_sure)}, :method => :delete) if delete_allowed %> - | -
- | - - -|||||
<%= link_to_attachment file, :download => true, :title => file.filename+"\n"+file.description.to_s, :style => "width: 230px; overflow: hidden; white-space: nowrap;text-overflow: ellipsis;" %> | +<%= format_time(file.created_on) %> | +<%= number_to_human_size(file.filesize) %> | +<%= file.attachmentstype.typeName %> | +<%= file.downloads %> | + ++ <%= link_to(image_tag('delete.png'), attachment_path(file), + :data => {:confirm => l(:text_are_you_sure)}, :method => :delete) if delete_allowed %> + | +
+ | + + +