Renders menu after heading

pull/6827/head
Hagen Schink 11 years ago
parent a0c4ea5b1b
commit f675e58dd9
  1. 9
      app/views/my_projects_overviews/_block_textilizable.html.erb
  2. 3
      app/views/my_projects_overviews/_textilizable.html.erb

@ -20,6 +20,7 @@ See doc/COPYRIGHT.md for more details.
<div id="block_<%= block_name.dasherize %>" class="mypage-box"> <div id="block_<%= block_name.dasherize %>" class="mypage-box">
<% content_for block_name do %>
<div class="box-actions"> <div class="box-actions">
<%= link_to_remote l(:button_delete), { <%= link_to_remote l(:button_delete), {
:confirm => l(:label_confirm_delete), :confirm => l(:label_confirm_delete),
@ -63,10 +64,12 @@ See doc/COPYRIGHT.md for more details.
<a href="#" onclick="return editTextilizable('<%= block_name %>');" <a href="#" onclick="return editTextilizable('<%= block_name %>');"
class="icon icon-edit"><%= l(:button_edit) %></a> class="icon icon-edit"><%= l(:button_edit) %></a>
</div> </div>
</div>
</div>
<% end %>
<%= render :partial => "textilizable", <%= render :partial => "textilizable",
:locals => { :block_title => block_title, :locals => { :block_title => block_title,
:textile => textile } :textile => textile,
:block_name => block_name }
%> %>
</div>
</div>
</div> </div>

@ -19,4 +19,7 @@ See doc/COPYRIGHT.md for more details.
++#%> ++#%>
<h2 class="page-layout-only"><%= block_title || l(:label_custom_element) %></h2> <h2 class="page-layout-only"><%= block_title || l(:label_custom_element) %></h2>
<% if defined? block_name %>
<%= content_for block_name %>
<% end %>
<%= textilizable(textile, :object => overview) %> <%= textilizable(textile, :object => overview) %>

Loading…
Cancel
Save