%#-- copyright
OpenProject is a project management system.
Copyright (C) 2012-2013 the OpenProject Team
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License version 3.
See doc/COPYRIGHT.rdoc for more details.
++#%>
<% breadcrumb_paths(l(:label_my_page)) %>
<% @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)) -%>