##// END OF EJS Templates
Add predefined date ranges to the time report in the same way as the details view (closes #972). It nows defaults to 'All time'....
Add predefined date ranges to the time report in the same way as the details view (closes #972). It nows defaults to 'All time'. This patch also fixes time report periods (columns) computation. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1318 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r1019:3e0acc0b7e1f
r1303:043cb37b161d
Show More
stats.rhtml
13 lines | 642 B | text/html+ruby | RhtmlLexer
<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>
<% html_title(l(:label_repository), l(:label_statistics)) -%>