summaryrefslogtreecommitdiffstats
path: root/redmine/app/views/projects/list_files.rhtml
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2006-12-05 20:45:04 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2006-12-05 20:45:04 +0000
commit96f83cc8f0f032554f771a59da22303cd473b878 (patch)
tree355a0d2ed653a5426c59ebf6a1fe65eba024b4d0 /redmine/app/views/projects/list_files.rhtml
parenteabc04d8368824965d3ac8de3fa84502e9c05d38 (diff)
downloadredmine-96f83cc8f0f032554f771a59da22303cd473b878.tar.gz
redmine-96f83cc8f0f032554f771a59da22303cd473b878.zip
trunk moved from /trunk/redmine to /trunk
git-svn-id: http://redmine.rubyforge.org/svn/trunk@67 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'redmine/app/views/projects/list_files.rhtml')
-rw-r--r--redmine/app/views/projects/list_files.rhtml46
1 files changed, 0 insertions, 46 deletions
diff --git a/redmine/app/views/projects/list_files.rhtml b/redmine/app/views/projects/list_files.rhtml
deleted file mode 100644
index 5fe65e6a6..000000000
--- a/redmine/app/views/projects/list_files.rhtml
+++ /dev/null
@@ -1,46 +0,0 @@
-<h2><%=l(:label_attachment_plural)%></h2>
-
-<% delete_allowed = authorize_for('versions', 'destroy_file') %>
-
-<table class="listTableContent">
- <tr class="ListHead">
- <th><%=l(:field_version)%></th>
- <th><%=l(:field_filename)%></th>
- <th><%=l(:label_date)%></th>
- <th><%=l(:field_filesize)%></th>
- <th>D/L</th>
- <th>MD5</th>
- <% if delete_allowed %><th></th><% end %>
- </tr>
-
-<% for version in @versions %>
- <% unless version.attachments.empty? %>
- <tr><td colspan="7"><%= image_tag 'package' %> <b><%= version.name %></b></td></tr>
- <% for file in version.attachments %>
- <tr class="<%= cycle("odd", "even") %>">
- <td></td>
- <td><%= link_to file.filename, :controller => 'versions', :action => 'download', :id => version, :attachment_id => file %></td>
- <td align="center"><%= format_date(file.created_on) %></td>
- <td align="center"><%= 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">
- <%= start_form_tag :controller => 'versions', :action => 'destroy_file', :id => version, :attachment_id => file %>
- <%= submit_tag l(:button_delete), :class => "button-small" %>
- <%= end_form_tag %>
- </td>
- <% end %>
- </tr>
- <% end
- reset_cycle %>
- <% end %>
-<% end %>
-</table>
-
-<br />
-<p>
-<%= link_to_if_authorized '&#187; ' + l(:label_attachment_new), :controller => 'projects', :action => 'add_file', :id => @project %>
-</p>
-
-