diff --git a/app/views/pull_requests/_form.html.erb b/app/views/pull_requests/_form.html.erb index 1366ef466..01b21106b 100644 --- a/app/views/pull_requests/_form.html.erb +++ b/app/views/pull_requests/_form.html.erb @@ -13,7 +13,8 @@
<%= @request.description %>
请将新改动提交至源分支或者切换到其它目标分支
-请将新改动提交至源分支或者切换到其它目标分支
+<% else %> + <% if @request.state == "merged" %> + Hjqreturn于两小时前合并改动已合并至<%= @request.target_branch %>
+ <% else %> + <%= link_to "接受请求", accept_pull_request_project_pull_request_path(@request.id, :project_id => @project.id), :class => "BlueCirBtn" %> + <% end %> +