]> source.dussan.org Git - redmine.git/commitdiff
Display date/time instead of date on files list (#817).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 9 Mar 2008 11:39:00 +0000 (11:39 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 9 Mar 2008 11:39:00 +0000 (11:39 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1215 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/projects/list_files.rhtml

index e02077d8e928cfa85dae41bb3b7482da8d73a3fe..ec4a3619b2bd70587e493ffba0882c957acf37c6 100644 (file)
     <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>