summaryrefslogtreecommitdiffstats
path: root/app/views/repositories
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-06-29 11:13:10 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-06-29 11:13:10 +0000
commit94cf4f258ff61bac4708c9a8dcba5c50b8adcf94 (patch)
treee2bd6ea3d1c391dbf4c3006190ee176a5fd66a7f /app/views/repositories
parenta0f707e54b092f62aa0a04be9a80741c937ab3a5 (diff)
downloadredmine-94cf4f258ff61bac4708c9a8dcba5c50b8adcf94.tar.gz
redmine-94cf4f258ff61bac4708c9a8dcba5c50b8adcf94.zip
Wider SVG graphs in repository stats.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1601 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/repositories')
-rw-r--r--app/views/repositories/stats.rhtml15
1 files changed, 7 insertions, 8 deletions
diff --git a/app/views/repositories/stats.rhtml b/app/views/repositories/stats.rhtml
index 76ce892d5..1e617577e 100644
--- a/app/views/repositories/stats.rhtml
+++ b/app/views/repositories/stats.rhtml
@@ -1,13 +1,12 @@
<h2><%= l(:label_statistics) %></h2>
-<table width="100%">
-<tr><td>
-<%= tag("embed", :width => 500, :height => 300, :type => "image/svg+xml", :src => url_for(:controller => 'repositories', :action => 'graph', :id => @project, :graph => "commits_per_month")) %>
-</td><td>
-<%= tag("embed", :width => 500, :height => 300, :type => "image/svg+xml", :src => url_for(:controller => 'repositories', :action => 'graph', :id => @project, :graph => "commits_per_author")) %>
-</td></tr>
-</table>
-<br />
+<p>
+<%= tag("embed", :width => 800, :height => 300, :type => "image/svg+xml", :src => url_for(:controller => 'repositories', :action => 'graph', :id => @project, :graph => "commits_per_month")) %>
+</p>
+<p>
+<%= tag("embed", :width => 800, :height => 400, :type => "image/svg+xml", :src => url_for(:controller => 'repositories', :action => 'graph', :id => @project, :graph => "commits_per_author")) %>
+</p>
+
<p><%= link_to l(:button_back), :action => 'show', :id => @project %></p>
<% html_title(l(:label_repository), l(:label_statistics)) -%>