diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-01-31 11:07:25 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-01-31 11:07:25 +0000 |
commit | 453c4ae5801376ef6b84f713ab625498fe8767d3 (patch) | |
tree | 6e56b645cca256c4fa7a9689ec341be676e4cdcd /app | |
parent | f761d74316af7e521dfedadd9a9b264d74a0e6a0 (diff) | |
download | redmine-453c4ae5801376ef6b84f713ab625498fe8767d3.tar.gz redmine-453c4ae5801376ef6b84f713ab625498fe8767d3.zip |
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
Diffstat (limited to 'app')
-rw-r--r-- | app/views/repositories/diff.html.erb | 4 |
1 files changed, 4 insertions, 0 deletions
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 %> +<h2><%= l(:label_revision) %> <%= @diff_format_revisions %> <%= @path %></h2> +<% else %> <%= render :partial => 'changeset' %> +<% end %> <!-- Choose view type --> <%= form_tag({:action => 'diff', :id => @project, |