<% @blocks['top'].each do |b|
next unless MyController::BLOCKS.keys.include? b %>
<%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %>
<% end if @blocks['top'] %>
<% @blocks['left'].each do |b|
next unless MyController::BLOCKS.keys.include? b %>
<%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %>
<% end if @blocks['left'] %>
<% @blocks['right'].each do |b|
next unless MyController::BLOCKS.keys.include? b %>
<%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %>
<% end if @blocks['right'] %>
<%= context_menu :controller => '/issues', :action => 'context_menu' %>
<% html_title(l(:label_my_page)) -%>