added simple svn statistics graphs, rendered using SVG::Graph
git-svn-id: http://redmine.rubyforge.org/svn/trunk@380 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
887f11435b
commit
0ef114e006
25 files changed
+3897
-3
No files matched your search
@@ -1,3 +1,7 @@
|
||||
<div class="contextual">
|
||||
<%= link_to l(:label_statistics), {:action => 'stats', :id => @project}, :class => 'icon icon-stats' %>
|
||||
</div>
|
||||
|
||||
<h2><%= l(:label_repository) %></h2>
|
||||
|
||||
<h3><%= l(:label_browse) %></h3>
|
||||
|
||||
@@ -0,0 +1,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>
|
||||
Reference in new issue
Block a user