|
|
|
@ -25,5 +25,13 @@
|
|
|
|
|
<%# 用户最近一年的提交次数 %>
|
|
|
|
|
<%= 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 => "author_qoc_per_author")) %>
|
|
|
|
|
</p>
|
|
|
|
|
<p style="padding-top: 50px;">
|
|
|
|
|
<%# 用户最近六个月的代码量 %>
|
|
|
|
|
<%= 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 => "author_code_six_months")) %>
|
|
|
|
|
</p>
|
|
|
|
|
<p style="padding-top: 50px;">
|
|
|
|
|
<%# 用户最近一年的代码量 %>
|
|
|
|
|
<%= 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 => "author_code_year")) %>
|
|
|
|
|
</p>
|
|
|
|
|
<p><%= link_to l(:button_back), :action => 'show', :id => @project %></p>
|
|
|
|
|
<% html_title(l(:label_repository), l(:label_statistics)) -%>
|
|
|
|
|