2007-03-12 20:59:02 +03:00
|
|
|
<div class="contextual">
|
|
|
|
<%= link_to l(:label_personalize_page), :action => 'page_layout' %>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<h2><%=l(:label_my_page)%></h2>
|
|
|
|
|
|
|
|
<div id="list-top">
|
2011-05-30 22:52:25 +04:00
|
|
|
<% @blocks['top'].each do |b|
|
2007-03-12 20:59:02 +03:00
|
|
|
next unless MyController::BLOCKS.keys.include? b %>
|
2011-05-30 22:52:25 +04:00
|
|
|
<div class="mypage-box">
|
2007-03-12 20:59:02 +03:00
|
|
|
<%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %>
|
|
|
|
</div>
|
|
|
|
<% end if @blocks['top'] %>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="list-left" class="splitcontentleft">
|
2011-05-30 22:52:25 +04:00
|
|
|
<% @blocks['left'].each do |b|
|
2007-03-12 20:59:02 +03:00
|
|
|
next unless MyController::BLOCKS.keys.include? b %>
|
2011-05-30 22:52:25 +04:00
|
|
|
<div class="mypage-box">
|
2007-03-12 20:59:02 +03:00
|
|
|
<%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %>
|
|
|
|
</div>
|
|
|
|
<% end if @blocks['left'] %>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="list-right" class="splitcontentright">
|
2011-05-30 22:52:25 +04:00
|
|
|
<% @blocks['right'].each do |b|
|
2007-03-12 20:59:02 +03:00
|
|
|
next unless MyController::BLOCKS.keys.include? b %>
|
2011-05-30 22:52:25 +04:00
|
|
|
<div class="mypage-box">
|
2007-03-12 20:59:02 +03:00
|
|
|
<%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %>
|
|
|
|
</div>
|
|
|
|
<% end if @blocks['right'] %>
|
|
|
|
</div>
|
|
|
|
|
2010-03-04 22:02:57 +03:00
|
|
|
<%= context_menu :controller => 'issues', :action => 'context_menu' %>
|
2007-12-07 21:42:40 +03:00
|
|
|
|
2008-01-03 01:41:53 +03:00
|
|
|
<% html_title(l(:label_my_page)) -%>
|