You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

page.html.erb 1.0KB

123456789101112131415161718192021222324252627282930313233343536
  1. <div class="contextual">
  2. <%= link_to l(:label_personalize_page), :action => 'page_layout' %>
  3. </div>
  4. <h2><%=l(:label_my_page)%></h2>
  5. <div id="list-top">
  6. <% @blocks['top'].each do |b|
  7. next unless MyController::BLOCKS.keys.include? b %>
  8. <div class="mypage-box">
  9. <%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %>
  10. </div>
  11. <% end if @blocks['top'] %>
  12. </div>
  13. <div id="list-left" class="splitcontentleft">
  14. <% @blocks['left'].each do |b|
  15. next unless MyController::BLOCKS.keys.include? b %>
  16. <div class="mypage-box">
  17. <%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %>
  18. </div>
  19. <% end if @blocks['left'] %>
  20. </div>
  21. <div id="list-right" class="splitcontentright">
  22. <% @blocks['right'].each do |b|
  23. next unless MyController::BLOCKS.keys.include? b %>
  24. <div class="mypage-box">
  25. <%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %>
  26. </div>
  27. <% end if @blocks['right'] %>
  28. </div>
  29. <%= context_menu issues_context_menu_path %>
  30. <% html_title(l(:label_my_page)) -%>