Mercurial > hg > soundsoftware-site
view app/views/my/page.html.erb @ 1519:afce8026aaeb redmine-2.4-integration
Merge from branch "live"
author | Chris Cannam |
---|---|
date | Tue, 09 Sep 2014 09:34:53 +0100 |
parents | e0167f4e1d8a |
children |
line wrap: on
line source
<% content_for :header_tags do %> <%= stylesheet_link_tag 'redmine_tags', :plugin => 'redmine_tags' %> <% end %> <div class="contextual"> <%= link_to l(:label_personalize_page), :action => 'page_layout' %> <%= ('| ' + link_to(l(:label_project_new), {:controller => 'projects', :action => 'new'}, :class => 'icon icon-add')).html_safe if User.current.allowed_to?(:add_project, nil, :global => true) %> </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 issues_context_menu_path %> <% html_title(l(:label_my_page)) -%>