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 @ 825:48af1a50d2c8
History | View | Annotate | Download (1.25 KB)
| 1 | 0:513646585e45 | Chris | <div class="contextual"> |
|---|---|---|---|
| 2 | <%= link_to l(:label_personalize_page), :action => 'page_layout' %>
|
||
| 3 | 824:c62a0b66bd38 | chris | <%= '| ' + link_to(l(:label_project_new), {:controller => 'projects', :action => 'new'}, :class => 'icon icon-add') if User.current.allowed_to?(:add_project, nil, :global => true) %>
|
| 4 | 0:513646585e45 | Chris | </div>
|
| 5 | |||
| 6 | <h2><%=l(:label_my_page)%></h2> |
||
| 7 | |||
| 8 | <div id="list-top"> |
||
| 9 | <% @blocks['top'].each do |b|
|
||
| 10 | next unless MyController::BLOCKS.keys.include? b %>
|
||
| 11 | <div class="mypage-box"> |
||
| 12 | <%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %>
|
||
| 13 | </div>
|
||
| 14 | <% end if @blocks['top'] %>
|
||
| 15 | </div>
|
||
| 16 | |||
| 17 | <div id="list-left" class="splitcontentleft"> |
||
| 18 | <% @blocks['left'].each do |b|
|
||
| 19 | next unless MyController::BLOCKS.keys.include? b %>
|
||
| 20 | <div class="mypage-box"> |
||
| 21 | <%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %>
|
||
| 22 | </div>
|
||
| 23 | <% end if @blocks['left'] %>
|
||
| 24 | </div>
|
||
| 25 | |||
| 26 | <div id="list-right" class="splitcontentright"> |
||
| 27 | <% @blocks['right'].each do |b|
|
||
| 28 | next unless MyController::BLOCKS.keys.include? b %>
|
||
| 29 | <div class="mypage-box"> |
||
| 30 | <%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %>
|
||
| 31 | </div>
|
||
| 32 | <% end if @blocks['right'] %>
|
||
| 33 | </div>
|
||
| 34 | |||
| 35 | <%= context_menu :controller => 'issues', :action => 'context_menu' %>
|
||
| 36 | |||
| 37 | <% html_title(l(:label_my_page)) -%> |