##// END OF EJS Templates
issue list: added 'Priority' column, removed 'Created on' column...
issue list: added 'Priority' column, removed 'Created on' column git-svn-id: http://redmine.rubyforge.org/svn/trunk@211 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r188:486b4e9ea258
r208:aa91ca0a8d0e
Show More
list_files.rhtml
43 lines | 1.7 KiB | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
contextual links redesign...
r90 <div class="contextual">
Jean-Philippe Lang
* all icons replaced (new icons are based on GPL icon set: "KDE Crystal Diamond 2.5" -by paolino- and "kNeu! Alpha v0.1" -by Pablo Fabregat-)...
r154 <%= link_to_if_authorized l(:label_attachment_new), {:controller => 'projects', :action => 'add_file', :id => @project}, :class => 'icon icon-add' %>
Jean-Philippe Lang
contextual links redesign...
r90 </div>
Jean-Philippe Lang
Localization plugin removed (replaced with GLoc)...
r12 <h2><%=l(:label_attachment_plural)%></h2>
Jean-Philippe Lang
Initial commit...
r2
<% delete_allowed = authorize_for('versions', 'destroy_file') %>
Jean-Philippe Lang
css cleaning...
r105 <table class="list">
<thead><tr>
Jean-Philippe Lang
Localization plugin removed (replaced with GLoc)...
r12 <th><%=l(:field_version)%></th>
<th><%=l(:field_filename)%></th>
<th><%=l(:label_date)%></th>
<th><%=l(:field_filesize)%></th>
Jean-Philippe Lang
Initial commit...
r2 <th>D/L</th>
<th>MD5</th>
<% if delete_allowed %><th></th><% end %>
Jean-Philippe Lang
css cleaning...
r105 </tr></thead>
<tbody>
Jean-Philippe Lang
Initial commit...
r2 <% for version in @versions %>
Jean-Philippe Lang
git-svn-id: http://redmine.rubyforge.org/svn/trunk@19 e93f8b46-1217-0410-a6f0-8f06a7374b81
r17 <% unless version.attachments.empty? %>
Jean-Philippe Lang
* all icons replaced (new icons are based on GPL icon set: "KDE Crystal Diamond 2.5" -by paolino- and "kNeu! Alpha v0.1" -by Pablo Fabregat-)...
r154 <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 %>
<tr class="<%= cycle("odd", "even") %>">
Jean-Philippe Lang
Initial commit...
r2 <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>
Jean-Philippe Lang
replaced deprecated human_size by number_to_human_size...
r182 <td align="center"><%= number_to_human_size(file.filesize) %></td>
Jean-Philippe Lang
Initial commit...
r2 <td align="center"><%= file.downloads %></td>
<td align="center"><small><%= file.digest %></small></td>
<% if delete_allowed %>
<td align="center">
Jean-Philippe Lang
contextual links redesign...
r90 <div class="contextual">
Jean-Philippe Lang
deprecated ":post => true" replaced...
r188 <%= link_to_if_authorized '', {:controller => 'versions', :action => 'destroy_file', :id => version, :attachment_id => file}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %>
Jean-Philippe Lang
contextual links redesign...
r90 </div>
Jean-Philippe Lang
Initial commit...
r2 </td>
<% end %>
</tr>
Jean-Philippe Lang
v0.2.0...
r5 <% end
reset_cycle %>
Jean-Philippe Lang
git-svn-id: http://redmine.rubyforge.org/svn/trunk@19 e93f8b46-1217-0410-a6f0-8f06a7374b81
r17 <% end %>
Jean-Philippe Lang
Initial commit...
r2 <% end %>
Jean-Philippe Lang
css cleaning...
r105 </tbody>
Jean-Philippe Lang
contextual links redesign...
r90 </table>