diff --git a/app/views/pull_requests/_show.html.erb b/app/views/pull_requests/_show.html.erb
index b3d6dd314..e1d54dce4 100644
--- a/app/views/pull_requests/_show.html.erb
+++ b/app/views/pull_requests/_show.html.erb
@@ -4,7 +4,7 @@
-
<%= @request.state == "merged" ? "已合并" : "待处理" %>合并请求 由<%= link_to @request.author.try(:username), user_path(get_user_by_login_and(@request.author.try(:username))), :class => "link-blue" %>于<%= time_tag(@request.created_at) %>提交 · 最后编辑时间<%= time_tag(@request.updated_at) %>
+
<%= @request.state == "merged" ? "已合并" : "待处理" %>合并请求 由 <%= link_to @request.author.try(:username), user_path(get_user_by_login_and(@request.author.try(:username))), :class => "link-blue" %> 于 <%= time_tag(@request.created_at) %> 提交 · 最后编辑时间 <%= time_tag(@request.updated_at) %>
@@ -25,14 +25,18 @@
- - <%= link_to "提交#{@commits_count}".html_safe, pull_request_commits_project_pull_request_path(@request.id, :project_id => @project.id, :type => 1), :remote => true, :class => "active" %>
+ - <%= link_to "留言#{@commits_count}".html_safe, pull_request_commits_project_pull_request_path(@request.id, :project_id => @project.id, :type => 0), :remote => true, :class => "active" %>
+ - <%= link_to "提交#{@commits_count}".html_safe, pull_request_commits_project_pull_request_path(@request.id, :project_id => @project.id, :type => 1), :remote => true %>
- <%= link_to "改动#{@changes_count}".html_safe, pull_request_changes_project_pull_request_path(@request.id, :project_id => @project.id, :type => 2), :remote => true %>
根据最近提交时间排列
- <%= render :partial => "pull_requests/pull_request_commits" %>
+ 留言
+ <%= render :partial => "pull_requests/pull_request_commits" %>
+
+
<%= render :partial => "pull_requests/pull_request_changes" %>
<% end %>
@@ -54,7 +58,7 @@
var index = $(".merge-record li a").index(this);
- $("#merge_record_0, #merge_record_1").hide();
+ $("#merge_record_0, #merge_record_1,#merge_record_2").hide();
$("#merge_record_" + index).show();
});
\ No newline at end of file