mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
BUG Incorrect html nesting of breadcrumbs
Removed h2 from outside breadcrumbs, and put it within the breadcrumbs div Relies on sapphire commit 72b4fbf
This commit is contained in:
parent
4c73f23ddb
commit
4fab9b8248
@ -5,11 +5,11 @@
|
|||||||
<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') %>
|
||||||
|
@ -1,10 +1,8 @@
|
|||||||
<div id="pages-controller-cms-content" class="cms-content center cms-tabset $BaseCSSClasses" data-layout-type="border" data-pjax-fragment="Content" data-ignore-tab-state="true">
|
<div id="pages-controller-cms-content" class="cms-content center cms-tabset $BaseCSSClasses" data-layout-type="border" data-pjax-fragment="Content" data-ignore-tab-state="true">
|
||||||
|
|
||||||
<div class="cms-content-header north">
|
<div class="cms-content-header north">
|
||||||
<div class="cms-content-header-info">
|
<div class="cms-content-header-info">
|
||||||
<h2>
|
<% include CMSBreadcrumbs %>
|
||||||
<% include CMSBreadcrumbs %>
|
|
||||||
</h2>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="cms-content-header-tabs">
|
<div class="cms-content-header-tabs">
|
||||||
|
@ -1,10 +1,8 @@
|
|||||||
<div id="pages-controller-cms-content" class="cms-content center cms-tabset $BaseCSSClasses" data-layout-type="border" data-pjax-fragment="Content">
|
<div id="pages-controller-cms-content" class="cms-content center cms-tabset $BaseCSSClasses" data-layout-type="border" data-pjax-fragment="Content">
|
||||||
|
|
||||||
<div class="cms-content-header north">
|
<div class="cms-content-header north">
|
||||||
<div class="cms-content-header-info">
|
<div class="cms-content-header-info">
|
||||||
<h2>
|
<% include CMSBreadcrumbs %>
|
||||||
<% include CMSBreadcrumbs %>
|
|
||||||
</h2>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="cms-content-header-tabs">
|
<div class="cms-content-header-tabs">
|
||||||
|
@ -2,12 +2,10 @@
|
|||||||
|
|
||||||
<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') %>
|
||||||
|
@ -3,12 +3,10 @@
|
|||||||
<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">
|
||||||
<% 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>
|
||||||
<% end_with %>
|
<% end_with %>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user