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
This commit is contained in:
Toshi MARUYAMA 2013-05-16 04:29:39 +00:00
parent b3d80d50a3
commit 5ef5b3202d

View File

@ -1,14 +1,14 @@
<h2><%= l(:label_statistics) %></h2>
<p>
<%= 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")) %>
</p>
<p>
<%= 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,