Mercurial > hg > soundsoftware-site
diff app/views/repositories/stats.html.erb @ 908:c6c2cbd0afee redmine-1.3
Rename .rhtml files to .html.erb in preparation for merge
author | Chris Cannam |
---|---|
date | Fri, 24 Feb 2012 18:36:29 +0000 |
parents | app/views/repositories/stats.rhtml@513646585e45 |
children | 433d4f72a19b |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/views/repositories/stats.html.erb Fri Feb 24 18:36:29 2012 +0000 @@ -0,0 +1,12 @@ +<h2><%= l(:label_statistics) %></h2> + +<p> +<%= tag("embed", :width => 800, :height => 300, :type => "image/svg+xml", :src => url_for(:controller => 'repositories', :action => 'graph', :id => @project, :graph => "commits_per_month")) %> +</p> +<p> +<%= tag("embed", :width => 800, :height => 400, :type => "image/svg+xml", :src => url_for(:controller => 'repositories', :action => 'graph', :id => @project, :graph => "commits_per_author")) %> +</p> + +<p><%= link_to l(:button_back), :action => 'show', :id => @project %></p> + +<% html_title(l(:label_repository), l(:label_statistics)) -%>