view .svn/pristine/a6/a6f68ab59f637bab906fe6da15d39c82a10e7e70.svn-base @ 1550:7d825cbd76c8 feature_1136

Ensure we don't leave a git repo lying around for a repo with no corresponding (even if empty) authormap
author Chris Cannam
date Tue, 12 Jan 2016 17:22:27 +0000
parents 038ba2d95de8
children
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 issues_context_menu_path %>

<% html_title(l(:label_my_page)) -%>