@@ -5,30 +5,30 | |||||
5 | <h2><%=l(:label_my_page)%></h2> |
|
5 | <h2><%=l(:label_my_page)%></h2> | |
6 |
|
6 | |||
7 | <div id="list-top"> |
|
7 | <div id="list-top"> | |
8 |
|
|
8 | <% @blocks['top'].each do |b| | |
9 |
|
|
9 | next unless MyController::BLOCKS.keys.include? b %> | |
10 |
|
|
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 | </div> |
|
14 | </div> | |
15 |
|
15 | |||
16 | <div id="list-left" class="splitcontentleft"> |
|
16 | <div id="list-left" class="splitcontentleft"> | |
17 |
|
|
17 | <% @blocks['left'].each do |b| | |
18 |
|
|
18 | next unless MyController::BLOCKS.keys.include? b %> | |
19 |
|
|
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 | </div> |
|
23 | </div> | |
24 |
|
24 | |||
25 | <div id="list-right" class="splitcontentright"> |
|
25 | <div id="list-right" class="splitcontentright"> | |
26 |
|
|
26 | <% @blocks['right'].each do |b| | |
27 |
|
|
27 | next unless MyController::BLOCKS.keys.include? b %> | |
28 |
|
|
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 | </div> |
|
32 | </div> | |
33 |
|
33 | |||
34 | <%= context_menu :controller => 'issues', :action => 'context_menu' %> |
|
34 | <%= context_menu :controller => 'issues', :action => 'context_menu' %> |
General Comments 0
You need to be logged in to leave comments.
Login now