From 80707491ab923881c2e1119e8b15c8b58afd0d21 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 20 Dec 2019 08:52:56 +0000 Subject: [PATCH] Merged r19385 to 4.1-stable. git-svn-id: http://svn.redmine.org/redmine/branches/4.1-stable@19389 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/repositories/_revisions.html.erb | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/app/views/repositories/_revisions.html.erb b/app/views/repositories/_revisions.html.erb index 514380791..95c6898a1 100644 --- a/app/views/repositories/_revisions.html.erb +++ b/app/views/repositories/_revisions.html.erb @@ -21,7 +21,11 @@ end %> :method => :get ) do %> <% show_diff = revisions.size > 1 && User.current.allowed_to?(:browse_repository, @repository.project) %> -<%= submit_tag(l(:label_view_diff), :name => nil) if show_diff %> +<% if show_diff %> +

+ <%= submit_tag(l(:label_view_diff), :name => nil) %> +

+<% end %> @@ -49,6 +53,10 @@ end %> <% end %>
#
-<%= submit_tag(l(:label_view_diff), :name => nil) if show_diff %> +<% if show_diff %> +

+ <%= submit_tag(l(:label_view_diff), :name => nil) %> +

+<% end %> <% end %> -- 2.39.5