diff --git a/app/views/projects/list_files.rhtml b/app/views/projects/list_files.rhtml index 0871ba249..2b2e5e870 100644 --- a/app/views/projects/list_files.rhtml +++ b/app/views/projects/list_files.rhtml @@ -6,7 +6,7 @@ <% delete_allowed = User.current.allowed_to?(:manage_files, @project) %> -
<%=h container %> | |||||
---|---|---|---|---|---|
+ <%= link_to(h(container), {:controller => 'versions', :action => 'show', :id => container}, :class => "icon icon-package") %> + | +|||||
<%= link_to_attachment file, :download => true, :title => file.description %> | -<%= format_time(file.created_on) %> | -<%= number_to_human_size(file.filesize) %> | -<%= file.downloads %> | -<%= file.digest %> | +|
<%= link_to_attachment file, :download => true, :title => file.description %> | +<%= format_time(file.created_on) %> | +<%= number_to_human_size(file.filesize) %> | +<%= file.downloads %> | +<%= file.digest %> | <%= link_to(image_tag('delete.png'), {:controller => 'attachments', :action => 'destroy', :id => file}, :confirm => l(:text_are_you_sure), :method => :post) if delete_allowed %> diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 6ab3422bc..d13739573 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -110,6 +110,10 @@ tr.entry.file td.filename a { margin-left: 16px; } tr.changeset td.author { text-align: center; width: 15%; } tr.changeset td.committed_on { text-align: center; width: 15%; } +tr.file td { text-align: center; } +tr.file td.filename { text-align: left; padding-left: 24px; } +tr.file td.digest { font-size: 80%; } + tr.message { height: 2.6em; } tr.message td.last_message { font-size: 80%; } tr.message.locked td.subject a { background-image: url(../images/locked.png); } |