Skip to content

Commit

Permalink
BUG Incorrect html nesting of breadcrumbs
Browse files Browse the repository at this point in the history
Removed h2 from outside breadcrumbs, and put it within the breadcrumbs
div

Relies on sapphire commit 72b4fbf
  • Loading branch information
Naomi Guyer authored and mateusz committed Nov 21, 2012
1 parent 4c73f23 commit 4fab9b8
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 18 deletions.
4 changes: 2 additions & 2 deletions templates/Includes/AssetAdmin_Content.ss
Expand Up @@ -5,11 +5,11 @@
<div class="cms-content-header-info">
<% include BackLink_Button %>

<h2 id="page-title-heading">

<% with Controller %>
<% include CMSBreadcrumbs %>
<% end_with %>
</h2>

</div>
<% if Fields.hasTabset %>
<% with Fields.fieldByName('Root') %>
Expand Down
6 changes: 2 additions & 4 deletions templates/Includes/CMSMain_Content.ss
@@ -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 class="cms-content-header north">
<div class="cms-content-header-info">
<h2>
<% include CMSBreadcrumbs %>
</h2>
<div class="cms-content-header-info">
<% include CMSBreadcrumbs %>
</div>

<div class="cms-content-header-tabs">
Expand Down
6 changes: 2 additions & 4 deletions templates/Includes/CMSPagesController_Content.ss
@@ -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 class="cms-content-header north">
<div class="cms-content-header-info">
<h2>
<% include CMSBreadcrumbs %>
</h2>
<div class="cms-content-header-info">
<% include CMSBreadcrumbs %>
</div>

<div class="cms-content-header-tabs">
Expand Down
6 changes: 2 additions & 4 deletions templates/Includes/CMSSettingsController_Content.ss
Expand Up @@ -2,12 +2,10 @@

<div class="cms-content-header north">
<% with EditForm %>
<div class="cms-content-header-info">
<h2>
<div class="cms-content-header-info">
<% with Controller %>
<% include CMSBreadcrumbs %>
<% end_with %>
</h2>
<% end_with %>
</div>
<% if Fields.hasTabset %>
<% with Fields.fieldByName('Root') %>
Expand Down
6 changes: 2 additions & 4 deletions templates/Includes/ReportAdmin_Content.ss
Expand Up @@ -3,12 +3,10 @@
<div class="cms-content-header north">
<% with EditForm %>
<div class="cms-content-header-info">
<% include BackLink_Button %>
<h2 id="page-title-heading">
<% include BackLink_Button %>
<% with Controller %>
<% include CMSBreadcrumbs %>
<% end_with %>
</h2>
<% end_with %>
</div>
<% end_with %>
</div>
Expand Down

0 comments on commit 4fab9b8

Please sign in to comment.