From 453c4ae5801376ef6b84f713ab625498fe8767d3 2016-01-31 11:07:25 From: Jean-Philippe Lang Date: 2016-01-31 11:07:25 Subject: [PATCH] Display the changeset details when the diff is for a single changeset only (#4266). git-svn-id: http://svn.redmine.org/redmine/trunk@15141 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/repositories/diff.html.erb b/app/views/repositories/diff.html.erb index 1fceb79..3be4e6e 100644 --- a/app/views/repositories/diff.html.erb +++ b/app/views/repositories/diff.html.erb @@ -1,4 +1,8 @@ +<% if @changeset_to %> +

<%= l(:label_revision) %> <%= @diff_format_revisions %> <%= @path %>

+<% else %> <%= render :partial => 'changeset' %> +<% end %> <%= form_tag({:action => 'diff', :id => @project,