summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-03-09 11:39:00 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-03-09 11:39:00 +0000
commit522b9e6b5b1bf4f38d33b153eaa72249f2c0e507 (patch)
treec86c49de6f4368f452d35c580dbd31c44af99a5a /app
parent07882590bb50c8eba35fa5f70cb987a34f51e4a3 (diff)
downloadredmine-522b9e6b5b1bf4f38d33b153eaa72249f2c0e507.tar.gz
redmine-522b9e6b5b1bf4f38d33b153eaa72249f2c0e507.zip
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
Diffstat (limited to 'app')
-rw-r--r--app/views/projects/list_files.rhtml4
1 files changed, 1 insertions, 3 deletions
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 @@
<td></td>
<td><%= link_to(file.filename, {:controller => 'versions', :action => 'download', :id => version, :attachment_id => file},
:title => file.description) %></td>
- <td align="center"><%= format_date(file.created_on) %></td>
+ <td align="center"><%= format_time(file.created_on) %></td>
<td align="center"><%= number_to_human_size(file.filesize) %></td>
<td align="center"><%= file.downloads %></td>
<td align="center"><small><%= file.digest %></small></td>
<% if delete_allowed %>
<td align="center">
- <div class="contextual">
<%= 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 %>
- </div>
</td>
<% end %>
</tr>