<% total_size = 0 @entries.each do |entry| %> <% total_size += entry.size end %>
<%= l(:field_name) %> <%= l(:field_filesize) %> <%= l(:label_revision) %> <%= l(:field_author) %> <%= l(:label_date) %>
<%= link_to h(entry.name), { :action => (entry.is_dir? ? 'browse' : 'revisions'), :id => @project, :path => entry.path, :rev => @rev }, :class => ("icon " + (entry.is_dir? ? 'icon-folder' : 'icon-file')) %> <%= number_to_human_size(entry.size) unless entry.is_dir? %> <%= link_to entry.lastrev.identifier, :action => 'revision', :id => @project, :rev => entry.lastrev.identifier %> <%=h entry.lastrev.author %> <%= format_time(entry.lastrev.time) %>

<%= l(:label_total) %>: <%= number_to_human_size(total_size) %>