BUG Incorrect html nesting of breadcrumbs

Removed h2 from outside breadcrumbs, and put it within the breadcrumbs
div

Goes alon the cms commit 4fab9b8248819dc9008d5b94b5437cd833de31ac
This commit is contained in:
Naomi Guyer 2012-11-12 18:11:15 +13:00 committed by Mateusz Uzdowski
parent 8168a7db09
commit a933847217
3 changed files with 20 additions and 23 deletions

View File

@ -1,5 +1,5 @@
<div class="breadcrumbs-wrapper" data-pjax-fragment="Breadcrumbs"> <div class="breadcrumbs-wrapper" data-pjax-fragment="Breadcrumbs">
<h2 id="page-title-heading">
<% if ToplevelController %> <% if ToplevelController %>
<span class="section-icon icon icon-16 icon-{$ToplevelController.MenuCurrentItem.Code.LowerCase}"></span> <span class="section-icon icon icon-16 icon-{$ToplevelController.MenuCurrentItem.Code.LowerCase}"></span>
<% else_if Controller %> <% else_if Controller %>
@ -16,4 +16,5 @@
<span class="sep">/</span> <span class="sep">/</span>
<% end_if %> <% end_if %>
<% end_loop %> <% end_loop %>
</h2>
</div> </div>

View File

@ -3,11 +3,9 @@
<div class="cms-content-header north"> <div class="cms-content-header north">
<% with EditForm %> <% with EditForm %>
<div class="cms-content-header-info"> <div class="cms-content-header-info">
<h2>
<% with Controller %> <% with Controller %>
<% include CMSBreadcrumbs %> <% include CMSBreadcrumbs %>
<% end_with %> <% end_with %>
</h2>
</div> </div>
<% if Fields.hasTabset %> <% if Fields.hasTabset %>
<% with Fields.fieldByName('Root') %> <% with Fields.fieldByName('Root') %>

View File

@ -4,11 +4,9 @@
<div class="cms-content-header north"> <div class="cms-content-header north">
<div class="cms-content-header-info"> <div class="cms-content-header-info">
<% include BackLink_Button %> <% include BackLink_Button %>
<h2 id="page-title-heading">
<% with Controller %> <% with Controller %>
<% include CMSBreadcrumbs %> <% include CMSBreadcrumbs %>
<% end_with %> <% end_with %>
</h2>
</div> </div>
<% if Fields.hasTabset %> <% if Fields.hasTabset %>
<% with Fields.fieldByName('Root') %> <% with Fields.fieldByName('Root') %>