summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/repositories/_dir_list.rhtml7
1 files changed, 5 insertions, 2 deletions
diff --git a/app/views/repositories/_dir_list.rhtml b/app/views/repositories/_dir_list.rhtml
index 9a785f8f0..0e5b712bf 100644
--- a/app/views/repositories/_dir_list.rhtml
+++ b/app/views/repositories/_dir_list.rhtml
@@ -3,8 +3,9 @@
<th><%= l(:field_name) %></th>
<th><%= l(:field_filesize) %></th>
<th><%= l(:label_revision) %></th>
-<th><%= l(:field_author) %></th>
<th><%= l(:label_date) %></th>
+<th><%= l(:field_author) %></th>
+<th><%= l(:field_comments) %></th>
</tr></thead>
<tbody>
<% total_size = 0
@@ -13,8 +14,10 @@
<td><%= 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')) %></td>
<td align="right"><%= number_to_human_size(entry.size) unless entry.is_dir? %></td>
<td align="right"><%= link_to entry.lastrev.identifier, :action => 'revision', :id => @project, :rev => entry.lastrev.identifier %></td>
-<td align="center"><em><%=h entry.lastrev.author %></em></td>
<td align="center"><%= format_time(entry.lastrev.time) %></td>
+<td align="center"><em><%=h entry.lastrev.author %></em></td>
+<% changeset = @project.repository.changesets.find_by_revision(entry.lastrev.identifier) %>
+<td><%=h truncate(changeset.comments, 100) unless changeset.nil? %></td>
</tr>
<% total_size += entry.size
end %>