]> source.dussan.org Git - redmine.git/commitdiff
remove width and height from repository stats embed tags (#1983, #13486)
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 16 May 2013 04:29:39 +0000 (04:29 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 16 May 2013 04:29:39 +0000 (04:29 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11846 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/repositories/stats.html.erb

index 5c20f05859b5fa49d62a2b72d44866d9ec165498..532cc3f2f03fcba879024f871b04b737d2ce88b6 100644 (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,