2015-07-14 09:54:14 +08:00
|
|
|
<div class="project_r_h">
|
|
|
|
<h2 class="project_h2"><%= l(:label_statistics) %></h2>
|
|
|
|
</div>
|
2015-07-23 10:20:32 +08:00
|
|
|
<div class="riviseRed fl"></div><div class="fl">修订 是版本库的提交次数, 显示为橘红色。</div><br>
|
|
|
|
<div class="changeBlue fl"></div><div class="fl">变更 是对版本库中文件的修改次数, 显示为蓝色。</div>
|
|
|
|
<p style="padding-top:35px;">
|
2015-07-14 09:54:14 +08:00
|
|
|
<%= 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")) %>
|
2013-09-30 15:31:46 +08:00
|
|
|
</p>
|
2015-07-18 13:16:47 +08:00
|
|
|
<p style="padding-top: 50px;">
|
2015-07-23 17:32:48 +08:00
|
|
|
<%# 用户每月提交代码次数 %>
|
2015-07-14 09:54:14 +08:00
|
|
|
<%= 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")) %>
|
2013-09-30 15:31:46 +08:00
|
|
|
</p>
|
2015-07-23 17:32:48 +08:00
|
|
|
<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_commits_per_month")) %>
|
|
|
|
</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_qoc_per_author")) %>
|
|
|
|
</p>
|
2015-07-24 09:18:34 +08:00
|
|
|
<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_commits_six_month")) %>
|
|
|
|
</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_qoc_per_author")) %>
|
|
|
|
</p>
|
2013-09-30 15:31:46 +08:00
|
|
|
<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)) -%>
|