diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2019-12-20 08:46:47 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2019-12-20 08:46:47 +0000 |
commit | 71b8b7bc24dc7a4438479989d2e5f0df654e4d71 (patch) | |
tree | fac6a9466b13d68081563b5e84a7f6bdd6c9c8ec /app/views/repositories | |
parent | 6567ff7f33301fc3b8915f8fe9910e12423e5bb5 (diff) | |
download | redmine-71b8b7bc24dc7a4438479989d2e5f0df654e4d71.tar.gz redmine-71b8b7bc24dc7a4438479989d2e5f0df654e4d71.zip |
Wrap submit tags with p.
git-svn-id: http://svn.redmine.org/redmine/trunk@19385 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/repositories')
-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> |