##// END OF EJS Templates
Added the ability to move issues (to another project) without changing their trackers....
Added the ability to move issues (to another project) without changing their trackers. Added length validation for homepage project attribute. git-svn-id: http://redmine.rubyforge.org/svn/trunk@687 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r577:8687401d6527
r676:1281d99f3057
Show More
list_files.rhtml
43 lines | 1.6 KiB | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <div class="contextual">
<%= link_to_if_authorized l(:label_attachment_new), {:controller => 'projects', :action => 'add_file', :id => @project}, :class => 'icon icon-add' %>
</div>
<h2><%=l(:label_attachment_plural)%></h2>
<% delete_allowed = authorize_for('versions', 'destroy_file') %>
<table class="list">
<thead><tr>
<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></thead>
<tbody>
<% for version in @versions %>
<% unless version.attachments.empty? %>
<tr><th colspan="7" align="left"><span class="icon icon-package"><b><%= version.name %></b></span></th></tr>
Jean-Philippe Lang
v0.2.0...
r5 <% for file in version.attachments %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <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"><%= number_to_human_size(file.filesize) %></td>
Jean-Philippe Lang
Initial commit...
r2 <td align="center"><%= file.downloads %></td>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <td align="center"><small><%= file.digest %></small></td>
<% if delete_allowed %>
<td align="center">
<div class="contextual">
Jean-Philippe Lang
Fixed: trash icon not visible on files list....
r577 <%= 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 %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 </div>
</td>
Jean-Philippe Lang
Initial commit...
r2 <% end %>
</tr>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <% end
reset_cycle %>
<% end %>
<% end %>
</tbody>
Jean-Philippe Lang
contextual links redesign...
r90 </table>