diff options
-rw-r--r-- | app/views/repositories/_revisions.html.erb | 12 |
1 files 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 %> +<p> + <%= submit_tag(l(:label_view_diff), :name => nil) %> +</p> +<% end %> <table class="list changesets"> <thead><tr> <th>#</th> @@ -49,6 +53,10 @@ end %> <% end %> </tbody> </table> -<%= submit_tag(l(:label_view_diff), :name => nil) if show_diff %> +<% if show_diff %> +<p> + <%= submit_tag(l(:label_view_diff), :name => nil) %> +</p> +<% end %> <% end %> </div> |