summaryrefslogtreecommitdiffstats
path: root/app/views/repositories/stats.rhtml
blob: 7a9423f8c53a4781a1b8571f24dcc140c15abac6 (plain)
1
2
3
4
5
6
7
8
9
10
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>