-">
-<% if entry.is_dir? %>
+ |
+
+ <% if entry.is_dir? %>
<%# 展开文件目录 %>
-
-<% end %>
-<%= link_to h(ent_name),
+ <% end %>
+ ">
+ <%= h(ent_name) %>
+
+ <%#= h(ent_name), :class => "(entry.is_dir? ? 'icon icon-folder' : "icon icon-file #{Redmine::MimeType.css_class_of(ent_name)}")%>
+<%#= link_to h(ent_name),
{:action => (entry.is_dir? ? 'show' : 'entry'), :id => @project, :repository_id => @repository.identifier_param, :path => to_path_param(ent_path), :rev => @rev},
:class => (entry.is_dir? ? 'icon icon-folder' : "icon icon-file #{Redmine::MimeType.css_class_of(ent_name)}")%>
- |
-
-
+
+
+
<%# if @repository.report_last_commit %>
-
+
+
+
+ <%= (latest_changes.author) if latest_changes && latest_changes.author %>
+
+ |
- <%#= format_time(latest_changes.first.last_change.split(",")[1]) %>
- <%= distance_of_time_in_words(latest_changes.first.last_change.split(",")[1], Time.now) if latest_changes && latest_changes.first.last_change %>
+ <%= distance_of_time_in_words(latest_changes.time, Time.now) if latest_changes && latest_changes.time %>
|
- <%= (latest_changes.first.last_change.split(",")[2]) if latest_changes && latest_changes.first.last_change %><%#= entry.author %> |
-
+
+
<%# end %>
-
+
<% end %>
diff --git a/public/stylesheets/project.css b/public/stylesheets/project.css
index a1d372e11..ee6050a8f 100644
--- a/public/stylesheets/project.css
+++ b/public/stylesheets/project.css
@@ -594,8 +594,8 @@ img.ui-datepicker-trigger {
.repos_t_c li{ text-align:center;}
.pic_stats{display:block; background:url(../images/public_icon.png) 0px -548px no-repeat; width:20px; height:15px;}
.tree-age{width:10%; text-align:right;}
-.tree-author{width:10%; text-align:right;}
-.tree-comments{width:20%; text-align:right;}
+.tree-author{width:10%; text-align:left;}
+.tree-comments{width:40%; text-align:left;}
/* 里程碑 */
@@ -819,7 +819,7 @@ div.changeset { border-bottom: 1px solid #ddd; }
tr.entry { border: 1px solid #DDD; }
tr.entry td { white-space: nowrap; }
tr.entry td.filename { width: 30%; }
-tr.entry td.filename_no_report { width: 60%; }
+tr.entry td.filename_no_report { width: 40%; }
tr.entry td.size { text-align: right; font-size: 90%; }
tr.entry td.revision, tr.entry td.author { text-align: center; }
tr.entry td.age { text-align: right; }