Mercurial > hg > soundsoftware-site
annotate app/views/my/.svn/text-base/page.rhtml.svn-base @ 596:fcff84e1c1ce feature_36
In the remote call now only passing the id of the form's object, instead of the complete name of the object.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Tue, 16 Aug 2011 11:47:30 +0100 |
parents | 513646585e45 |
children |
rev | line source |
---|---|
Chris@0 | 1 <div class="contextual"> |
Chris@0 | 2 <%= link_to l(:label_personalize_page), :action => 'page_layout' %> |
Chris@0 | 3 </div> |
Chris@0 | 4 |
Chris@0 | 5 <h2><%=l(:label_my_page)%></h2> |
Chris@0 | 6 |
Chris@0 | 7 <div id="list-top"> |
Chris@0 | 8 <% @blocks['top'].each do |b| |
Chris@0 | 9 next unless MyController::BLOCKS.keys.include? b %> |
Chris@0 | 10 <div class="mypage-box"> |
Chris@0 | 11 <%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %> |
Chris@0 | 12 </div> |
Chris@0 | 13 <% end if @blocks['top'] %> |
Chris@0 | 14 </div> |
Chris@0 | 15 |
Chris@0 | 16 <div id="list-left" class="splitcontentleft"> |
Chris@0 | 17 <% @blocks['left'].each do |b| |
Chris@0 | 18 next unless MyController::BLOCKS.keys.include? b %> |
Chris@0 | 19 <div class="mypage-box"> |
Chris@0 | 20 <%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %> |
Chris@0 | 21 </div> |
Chris@0 | 22 <% end if @blocks['left'] %> |
Chris@0 | 23 </div> |
Chris@0 | 24 |
Chris@0 | 25 <div id="list-right" class="splitcontentright"> |
Chris@0 | 26 <% @blocks['right'].each do |b| |
Chris@0 | 27 next unless MyController::BLOCKS.keys.include? b %> |
Chris@0 | 28 <div class="mypage-box"> |
Chris@0 | 29 <%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %> |
Chris@0 | 30 </div> |
Chris@0 | 31 <% end if @blocks['right'] %> |
Chris@0 | 32 </div> |
Chris@0 | 33 |
Chris@0 | 34 <%= context_menu :controller => 'issues', :action => 'context_menu' %> |
Chris@0 | 35 |
Chris@0 | 36 <% html_title(l(:label_my_page)) -%> |