socialforge/app/views/repositories/stats.html.erb

13 lines
704 B
Plaintext
Raw Normal View History

<h3 style="padding-top: 40px;"><%= l(:label_statistics) %></h3>
2013-08-01 10:33:49 +08:00
<p>
<%= tag("embed", :width => 670, :height => 300, :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 => 670, :height => 400, :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>
2013-08-01 10:33:49 +08:00
<% html_title(l(:label_repository), l(:label_statistics)) -%>