diff options
Diffstat (limited to 'app/views/repositories/stats.rhtml')
-rw-r--r-- | app/views/repositories/stats.rhtml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/views/repositories/stats.rhtml b/app/views/repositories/stats.rhtml new file mode 100644 index 000000000..7a9423f8c --- /dev/null +++ b/app/views/repositories/stats.rhtml @@ -0,0 +1,11 @@ +<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><%= link_to l(:button_back), :action => 'show', :id => @project %></p>
\ No newline at end of file |