##// END OF EJS Templates
Added last commit message for each entry in repository browser....
Jean-Philippe Lang -
r491:9af49e07f3b7
parent child
Show More
@@ -3,8 +3,9
3 3 <th><%= l(:field_name) %></th>
4 4 <th><%= l(:field_filesize) %></th>
5 5 <th><%= l(:label_revision) %></th>
6 <th><%= l(:field_author) %></th>
7 6 <th><%= l(:label_date) %></th>
7 <th><%= l(:field_author) %></th>
8 <th><%= l(:field_comments) %></th>
8 9 </tr></thead>
9 10 <tbody>
10 11 <% total_size = 0
@@ -13,8 +14,10
13 14 <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>
14 15 <td align="right"><%= number_to_human_size(entry.size) unless entry.is_dir? %></td>
15 16 <td align="right"><%= link_to entry.lastrev.identifier, :action => 'revision', :id => @project, :rev => entry.lastrev.identifier %></td>
16 <td align="center"><em><%=h entry.lastrev.author %></em></td>
17 17 <td align="center"><%= format_time(entry.lastrev.time) %></td>
18 <td align="center"><em><%=h entry.lastrev.author %></em></td>
19 <% changeset = @project.repository.changesets.find_by_revision(entry.lastrev.identifier) %>
20 <td><%=h truncate(changeset.comments, 100) unless changeset.nil? %></td>
18 21 </tr>
19 22 <% total_size += entry.size
20 23 end %>
General Comments 0
You need to be logged in to leave comments. Login now