To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / app / views / my / page.rhtml @ 380:6627ac1de32b
History | View | Annotate | Download (1.07 KB)
| 1 |
<div class="contextual"> |
|---|---|
| 2 |
<%= link_to l(:label_personalize_page), :action => 'page_layout' %>
|
| 3 |
</div>
|
| 4 |
|
| 5 |
<h2><%=l(:label_my_page)%></h2> |
| 6 |
|
| 7 |
<div id="list-top"> |
| 8 |
<% @blocks['top'].each do |b|
|
| 9 |
next unless MyController::BLOCKS.keys.include? b %>
|
| 10 |
<div class="mypage-box"> |
| 11 |
<%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %>
|
| 12 |
</div>
|
| 13 |
<% end if @blocks['top'] %>
|
| 14 |
</div>
|
| 15 |
|
| 16 |
<div id="list-left" class="splitcontentleft"> |
| 17 |
<% @blocks['left'].each do |b|
|
| 18 |
next unless MyController::BLOCKS.keys.include? b %>
|
| 19 |
<div class="mypage-box"> |
| 20 |
<%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %>
|
| 21 |
</div>
|
| 22 |
<% end if @blocks['left'] %>
|
| 23 |
</div>
|
| 24 |
|
| 25 |
<div id="list-right" class="splitcontentright"> |
| 26 |
<% @blocks['right'].each do |b|
|
| 27 |
next unless MyController::BLOCKS.keys.include? b %>
|
| 28 |
<div class="mypage-box"> |
| 29 |
<%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %>
|
| 30 |
</div>
|
| 31 |
<% end if @blocks['right'] %>
|
| 32 |
</div>
|
| 33 |
|
| 34 |
<%= context_menu :controller => 'issues', :action => 'context_menu' %>
|
| 35 |
|
| 36 |
<% html_title(l(:label_my_page)) -%>
|