From: Jean-Philippe Lang Date: Sun, 9 Mar 2008 11:39:00 +0000 (+0000) Subject: Display date/time instead of date on files list (#817). X-Git-Tag: 0.7.0-RC1~82 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=522b9e6b5b1bf4f38d33b153eaa72249f2c0e507;p=redmine.git Display date/time instead of date on files list (#817). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1215 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/projects/list_files.rhtml b/app/views/projects/list_files.rhtml index e02077d8e..ec4a3619b 100644 --- a/app/views/projects/list_files.rhtml +++ b/app/views/projects/list_files.rhtml @@ -25,15 +25,13 @@ <%= link_to(file.filename, {:controller => 'versions', :action => 'download', :id => version, :attachment_id => file}, :title => file.description) %> - <%= format_date(file.created_on) %> + <%= format_time(file.created_on) %> <%= number_to_human_size(file.filesize) %> <%= file.downloads %> <%= file.digest %> <% if delete_allowed %> -
<%= link_to_if_authorized image_tag('delete.png'), {:controller => 'versions', :action => 'destroy_file', :id => version, :attachment_id => file}, :confirm => l(:text_are_you_sure), :method => :post %> -
<% end %>