]> source.dussan.org Git - redmine.git/commitdiff
rename .rhtml to .html.erb of app/views/repositories/stats.rhtml.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 23 Aug 2011 08:34:43 +0000 (08:34 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 23 Aug 2011 08:34:43 +0000 (08:34 +0000)
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6530 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/repositories/stats.html.erb [new file with mode: 0644]
app/views/repositories/stats.rhtml [deleted file]

diff --git a/app/views/repositories/stats.html.erb b/app/views/repositories/stats.html.erb
new file mode 100644 (file)
index 0000000..e5e7375
--- /dev/null
@@ -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)) -%>
diff --git a/app/views/repositories/stats.rhtml b/app/views/repositories/stats.rhtml
deleted file mode 100644 (file)
index e5e7375..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<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)) -%>