summaryrefslogtreecommitdiffstats
path: root/app/views/my/page.html.erb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-09-01 10:54:48 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-09-01 10:54:48 +0000
commitfc591750bea7baa12f13ae51808230d2175129e4 (patch)
tree7e24598128dfcc92355b216a1a1beeb17d53db0f /app/views/my/page.html.erb
parent9a50e49cc94c1db80926df5b2de96b99219e398b (diff)
downloadredmine-fc591750bea7baa12f13ae51808230d2175129e4.tar.gz
redmine-fc591750bea7baa12f13ae51808230d2175129e4.zip
rename .rhtml to .html.erb of app/views/my/page.rhtml.
: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
Diffstat (limited to 'app/views/my/page.html.erb')
-rw-r--r--app/views/my/page.html.erb36
1 files changed, 36 insertions, 0 deletions
diff --git a/app/views/my/page.html.erb b/app/views/my/page.html.erb
new file mode 100644
index 000000000..608e23326
--- /dev/null
+++ b/app/views/my/page.html.erb
@@ -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)) -%>