##// END OF EJS Templates
show "no data" label when there's nothing to display on changelog and roadmap...
show "no data" label when there's nothing to display on changelog and roadmap git-svn-id: http://redmine.rubyforge.org/svn/trunk@255 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r240:73510949bacb
r252:ddd0796e403d
Show More
page.rhtml
33 lines | 1020 B | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
various modifications to prevent xss...
r96 <div class="contextual">
<%= link_to l(:label_personalize_page), :action => 'page_layout' %>
Jean-Philippe Lang
- new controller "myController"...
r60 </div>
Jean-Philippe Lang
various modifications to prevent xss...
r96 <h2><%=l(:label_my_page)%></h2>
Jean-Philippe Lang
- new controller "myController"...
r60 <div id="list-top">
Jean-Philippe Lang
check that block is defined before rendering it (my/page)...
r240 <% @blocks['top'].each do |b|
next unless MyController::BLOCKS.keys.include? b %>
Jean-Philippe Lang
- new controller "myController"...
r60 <div class="mypage-box">
<%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %>
</div>
<% end if @blocks['top'] %>
</div>
<div id="list-left" class="splitcontentleft">
Jean-Philippe Lang
check that block is defined before rendering it (my/page)...
r240 <% @blocks['left'].each do |b|
next unless MyController::BLOCKS.keys.include? b %>
Jean-Philippe Lang
- new controller "myController"...
r60 <div class="mypage-box">
<%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %>
</div>
<% end if @blocks['left'] %>
</div>
<div id="list-right" class="splitcontentright">
Jean-Philippe Lang
check that block is defined before rendering it (my/page)...
r240 <% @blocks['right'].each do |b|
next unless MyController::BLOCKS.keys.include? b %>
Jean-Philippe Lang
- new controller "myController"...
r60 <div class="mypage-box">
<%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %>
</div>
<% end if @blocks['right'] %>
</div>