Index: app/views/files/index.html.erb =================================================================== --- app/views/files/index.html.erb (リビジョン 18085) +++ app/views/files/index.html.erb (作業コピー) @@ -6,41 +6,43 @@ <% delete_allowed = User.current.allowed_to?(:manage_files, @project) %> -
<%= l(:field_digest) %> | -- | ||||
---|---|---|---|---|---|
- <%= link_to(container, {:controller => 'versions', :action => 'show', :id => container}, :class => "icon icon-package") %> - | -|||||
<%= link_to_attachment file, :title => file.description -%> | -<%= format_time(file.created_on) %> | -<%= number_to_human_size(file.filesize) %> | -<%= file.downloads %> | -<%= file.digest_type %>: <%= file.digest %> | -- <%= link_to_attachment file, class: 'icon-only icon-download', title: l(:button_download), download: true %> - <%= link_to(l(:button_delete), attachment_path(file), :class => 'icon-only icon-del', - :data => {:confirm => l(:text_are_you_sure)}, :method => :delete) if delete_allowed %> - | -
<%= l(:field_digest) %> | ++ | ||||
---|---|---|---|---|---|
+ <%= link_to(container, {:controller => 'versions', :action => 'show', :id => container}, :class => "icon icon-package") %> + | +|||||
<%= link_to_attachment file, :title => file.description -%> | +<%= format_time(file.created_on) %> | +<%= number_to_human_size(file.filesize) %> | +<%= file.downloads %> | +<%= file.digest_type %>: <%= file.digest %> | ++ <%= link_to_attachment file, class: 'icon-only icon-download', title: l(:button_download), download: true %> + <%= link_to(l(:button_delete), attachment_path(file), :class => 'icon-only icon-del', + :data => {:confirm => l(:text_are_you_sure)}, :method => :delete) if delete_allowed %> + | +