Merge pull request #59 from HDinger/fix/20782-unify-widget-headings

[20782] Unify widget headings
pull/6827/head
Jan Sandbrink 9 years ago
commit c91b961531
  1. 11
      app/views/my_projects_overviews/_textilizable.html.erb

@ -18,13 +18,14 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
See doc/COPYRIGHT.md for more details.
++#%>
<h2 class="page-layout-only"><%= block_title || l(:label_custom_element) %></h2>
<% if defined? block_name %>
<div class="wiki">
<h3><%= block_title || l(:label_custom_element) %></h3>
<% if defined? block_name %>
<%= content_for block_name %>
<div id="<%= block_name %>-text">
<%= textilizable(textile, :object => overview) %>
</div>
<% else %>
<% else %>
<%= textilizable(textile, :object => overview) %>
<% end %>
<% end %>
</div>

Loading…
Cancel
Save