]> source.dussan.org Git - redmine.git/commitdiff
Display the changeset details when the diff is for a single changeset only (#4266).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 31 Jan 2016 11:07:25 +0000 (11:07 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 31 Jan 2016 11:07:25 +0000 (11:07 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@15141 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/repositories/diff.html.erb

index 1fceb79ce2f92e8d85933af5e00724002a40c7a5..3be4e6ec4dc5025a0ad07cf69d0f1db46b093af6 100644 (file)
@@ -1,4 +1,8 @@
+<% if @changeset_to %>
+<h2><%= l(:label_revision) %> <%= @diff_format_revisions %> <%= @path %></h2>
+<% else %>
 <%= render :partial => 'changeset' %>
+<% end %>
 
 <!-- Choose view type -->
 <%= form_tag({:action => 'diff', :id => @project,