diff --git a/app/views/pull_requests/_pull_request_commits.html.erb b/app/views/pull_requests/_pull_request_commits.html.erb index cd6fb1f34..ffccccd8d 100644 --- a/app/views/pull_requests/_pull_request_commits.html.erb +++ b/app/views/pull_requests/_pull_request_commits.html.erb @@ -1,4 +1,5 @@ <% @commits.each do |commit| %> +
<%= format_date(commit.created_at) %> @@ -13,4 +14,5 @@
+
<% end %> diff --git a/app/views/pull_requests/show.html.erb b/app/views/pull_requests/show.html.erb index c7e52b8d5..634ed2916 100644 --- a/app/views/pull_requests/show.html.erb +++ b/app/views/pull_requests/show.html.erb @@ -16,13 +16,13 @@
  • <%= link_to "改动1".html_safe, pull_request_changes_project_pull_request_path(@request.id, :project_id => @project.id), :remote => true, :class => "active" %>
  • 根据最近提交时间排列
    -
    +
    <%= render :partial => "pull_requests/pull_request_commits" %>
    <% if @type == 2 %> -
    - <%= render :partial => "pull_requests/pull_request_changes" %> -
    +
    + <%= render :partial => "pull_requests/pull_request_changes" %> +
    <% end %>