]> source.dussan.org Git - redmine.git/commitdiff
rename .rhtml to .html.erb of app/views/my/page.rhtml.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 1 Sep 2011 10:54:48 +0000 (10:54 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 1 Sep 2011 10:54:48 +0000 (10:54 +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@6975 e93f8b46-1217-0410-a6f0-8f06a7374b81

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

diff --git a/app/views/my/page.html.erb b/app/views/my/page.html.erb
new file mode 100644 (file)
index 0000000..608e233
--- /dev/null
@@ -0,0 +1,36 @@
+<div class="contextual">
+    <%= link_to l(:label_personalize_page), :action => 'page_layout' %>
+</div>
+
+<h2><%=l(:label_my_page)%></h2>
+
+<div id="list-top">
+       <% @blocks['top'].each do |b| 
+          next unless MyController::BLOCKS.keys.include? b     %>
+       <div class="mypage-box">        
+               <%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %>
+       </div>
+       <% end if @blocks['top'] %>
+</div>
+
+<div id="list-left" class="splitcontentleft">
+       <% @blocks['left'].each do |b| 
+          next unless MyController::BLOCKS.keys.include? b %>
+       <div class="mypage-box">        
+               <%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %>
+       </div>
+       <% end if @blocks['left'] %>
+</div>
+
+<div id="list-right" class="splitcontentright">
+       <% @blocks['right'].each do |b| 
+          next unless MyController::BLOCKS.keys.include? b %>
+       <div class="mypage-box">        
+               <%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %>
+       </div>
+       <% end if @blocks['right'] %>
+</div>
+
+<%= context_menu :controller => 'issues', :action => 'context_menu' %>
+
+<% html_title(l(:label_my_page)) -%>
diff --git a/app/views/my/page.rhtml b/app/views/my/page.rhtml
deleted file mode 100644 (file)
index 608e233..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<div class="contextual">
-    <%= link_to l(:label_personalize_page), :action => 'page_layout' %>
-</div>
-
-<h2><%=l(:label_my_page)%></h2>
-
-<div id="list-top">
-       <% @blocks['top'].each do |b| 
-          next unless MyController::BLOCKS.keys.include? b     %>
-       <div class="mypage-box">        
-               <%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %>
-       </div>
-       <% end if @blocks['top'] %>
-</div>
-
-<div id="list-left" class="splitcontentleft">
-       <% @blocks['left'].each do |b| 
-          next unless MyController::BLOCKS.keys.include? b %>
-       <div class="mypage-box">        
-               <%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %>
-       </div>
-       <% end if @blocks['left'] %>
-</div>
-
-<div id="list-right" class="splitcontentright">
-       <% @blocks['right'].each do |b| 
-          next unless MyController::BLOCKS.keys.include? b %>
-       <div class="mypage-box">        
-               <%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %>
-       </div>
-       <% end if @blocks['right'] %>
-</div>
-
-<%= context_menu :controller => 'issues', :action => 'context_menu' %>
-
-<% html_title(l(:label_my_page)) -%>