From 5ef5b3202d79ae599b74609cee82e08a40265f72 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Thu, 16 May 2013 04:29:39 +0000 Subject: [PATCH] remove width and height from repository stats embed tags (#1983, #13486) git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11846 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/repositories/stats.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/repositories/stats.html.erb b/app/views/repositories/stats.html.erb index 5c20f0585..532cc3f2f 100644 --- a/app/views/repositories/stats.html.erb +++ b/app/views/repositories/stats.html.erb @@ -1,14 +1,14 @@

<%= l(:label_statistics) %>

-<%= tag("embed", :width => 800, :height => params[:height_commits_per_month], +<%= tag("embed", :type => "image/svg+xml", :src => url_for(:controller => 'repositories', :action => 'graph', :id => @project, :repository_id => @repository.identifier_param, :graph => "commits_per_month")) %>

-<%= tag("embed", :width => 800, :height => params[:height_commits_per_author], +<%= tag("embed", :type => "image/svg+xml", :src => url_for(:controller => 'repositories', :action => 'graph', :id => @project, :repository_id => @repository.identifier_param,