From: Toshi MARUYAMA Date: Thu, 16 May 2013 04:29:39 +0000 (+0000) Subject: remove width and height from repository stats embed tags (#1983, #13486) X-Git-Tag: 2.4.0~357 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5ef5b3202d79ae599b74609cee82e08a40265f72;p=redmine.git 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 --- 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,