@@ -1,36 +1,36 | |||
|
1 | 1 | <div class="contextual"> |
|
2 | 2 | <%= link_to l(:label_personalize_page), :action => 'page_layout' %> |
|
3 | 3 | </div> |
|
4 | 4 | |
|
5 | 5 | <h2><%=l(:label_my_page)%></h2> |
|
6 | 6 | |
|
7 | 7 | <div id="list-top"> |
|
8 |
<% @blocks['top'].each do |b| |
|
|
8 | <% @blocks['top'].each do |b| | |
|
9 | 9 | next unless MyController::BLOCKS.keys.include? b %> |
|
10 |
<div class="mypage-box"> |
|
|
10 | <div class="mypage-box"> | |
|
11 | 11 | <%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %> |
|
12 | 12 | </div> |
|
13 | 13 | <% end if @blocks['top'] %> |
|
14 | 14 | </div> |
|
15 | 15 | |
|
16 | 16 | <div id="list-left" class="splitcontentleft"> |
|
17 |
<% @blocks['left'].each do |b| |
|
|
17 | <% @blocks['left'].each do |b| | |
|
18 | 18 | next unless MyController::BLOCKS.keys.include? b %> |
|
19 |
<div class="mypage-box"> |
|
|
19 | <div class="mypage-box"> | |
|
20 | 20 | <%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %> |
|
21 | 21 | </div> |
|
22 | 22 | <% end if @blocks['left'] %> |
|
23 | 23 | </div> |
|
24 | 24 | |
|
25 | 25 | <div id="list-right" class="splitcontentright"> |
|
26 |
<% @blocks['right'].each do |b| |
|
|
26 | <% @blocks['right'].each do |b| | |
|
27 | 27 | next unless MyController::BLOCKS.keys.include? b %> |
|
28 |
<div class="mypage-box"> |
|
|
28 | <div class="mypage-box"> | |
|
29 | 29 | <%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %> |
|
30 | 30 | </div> |
|
31 | 31 | <% end if @blocks['right'] %> |
|
32 | 32 | </div> |
|
33 | 33 | |
|
34 | 34 | <%= context_menu :controller => 'issues', :action => 'context_menu' %> |
|
35 | 35 | |
|
36 | 36 | <% html_title(l(:label_my_page)) -%> |
General Comments 0
You need to be logged in to leave comments.
Login now