diff options
-rw-r--r-- | app/views/repositories/stats.html.erb | 4 |
1 files 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 @@ <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, |