From 453c4ae5801376ef6b84f713ab625498fe8767d3 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 31 Jan 2016 11:07:25 +0000 Subject: 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 --- app/views/repositories/diff.html.erb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app') diff --git a/app/views/repositories/diff.html.erb b/app/views/repositories/diff.html.erb index 1fceb79ce..3be4e6ec4 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, -- cgit v1.2.3