summaryrefslogtreecommitdiffstats
path: root/app/views/repositories/stats.html.erb
blob: 532cc3f2f03fcba879024f871b04b737d2ce88b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<h2><%= l(:label_statistics) %></h2>

<p>
<%= 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",
        :type => "image/svg+xml", :src => url_for(:controller => 'repositories',
        :action => 'graph', :id => @project,
        :repository_id => @repository.identifier_param,
        :graph => "commits_per_author")) %>
</p>

<p><%= link_to l(:button_back), :action => 'show', :id => @project %></p>

<% html_title(l(:label_repository), l(:label_statistics)) -%>