diff app/views/repositories/_dir_list.rhtml @ 441:cbce1fd3b1b7 redmine-1.2

Update to Redmine 1.2-stable branch (Redmine SVN rev 6000)
author Chris Cannam
date Mon, 06 Jun 2011 14:24:13 +0100
parents 513646585e45
children
line wrap: on
line diff
--- a/app/views/repositories/_dir_list.rhtml	Thu Mar 03 11:42:28 2011 +0000
+++ b/app/views/repositories/_dir_list.rhtml	Mon Jun 06 14:24:13 2011 +0100
@@ -3,10 +3,12 @@
 <tr id="root">
 <th><%= l(:field_name) %></th>
 <th><%= l(:field_filesize) %></th>
-<th><%= l(:label_revision) %></th>
-<th><%= l(:label_age) %></th>
-<th><%= l(:field_author) %></th>
-<th><%= l(:field_comments) %></th>
+<% if @repository.report_last_commit %>
+<th><%= l(:label_revision)  %></th>
+<th><%= l(:label_age)       %></th>
+<th><%= l(:field_author)    %></th>
+<th><%= l(:field_comments)  %></th>
+<% end %>
 </tr>
 </thead>
 <tbody>