Mercurial > hg > soundsoftware-site
view app/views/my/page.rhtml @ 507:0c939c159af4 redmine-1.2
Update to Redmine 1.2.1 on 1.2-stable branch (Redmine SVN rev 6270)
author | Chris Cannam |
---|---|
date | Thu, 14 Jul 2011 10:32:19 +0100 |
parents | 513646585e45 |
children | c62a0b66bd38 |
line wrap: on
line source
<div class="contextual"> <%= link_to l(:label_personalize_page), :action => 'page_layout' %> </div> <h2><%=l(:label_my_page)%></h2> <div id="list-top"> <% @blocks['top'].each do |b| next unless MyController::BLOCKS.keys.include? b %> <div class="mypage-box"> <%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %> </div> <% end if @blocks['top'] %> </div> <div id="list-left" class="splitcontentleft"> <% @blocks['left'].each do |b| next unless MyController::BLOCKS.keys.include? b %> <div class="mypage-box"> <%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %> </div> <% end if @blocks['left'] %> </div> <div id="list-right" class="splitcontentright"> <% @blocks['right'].each do |b| next unless MyController::BLOCKS.keys.include? b %> <div class="mypage-box"> <%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %> </div> <% end if @blocks['right'] %> </div> <%= context_menu :controller => 'issues', :action => 'context_menu' %> <% html_title(l(:label_my_page)) -%>