aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-06-08 13:10:17 +0100
committerStruan Donald <struan@exo.org.uk>2012-06-08 13:10:17 +0100
commitc1f4b150e08752b040cd931c8607135ba0654caf (patch)
treed3fcc18380ed5e4ef0f89a6f18f308f2e62b21bf
parent01b3aff830769820aca641e0841564d2c63e03d2 (diff)
add pre_container_index fix to barnet cobrand
-rw-r--r--templates/web/barnet/header.html4
-rw-r--r--templates/web/barnet/index.html15
2 files changed, 11 insertions, 8 deletions
diff --git a/templates/web/barnet/header.html b/templates/web/barnet/header.html
index 1b921d44d..5c6a19d89 100644
--- a/templates/web/barnet/header.html
+++ b/templates/web/barnet/header.html
@@ -28,7 +28,7 @@
<link rel="stylesheet" href="[% version('/cobrands/barnet/barnet.css') %]">
<![endif]-->
- <script src="[% version('/js/modernizr.custom.76759.js') %]" charset="utf-8"></script>
+ <script src="[% version('/js/modernizr.custom.js') %]" charset="utf-8"></script>
<script src="[% version('/cobrands/barnet/position_map.js') %]" charset="utf-8"></script>
[% INCLUDE 'common_header_tags.html', js_override = '/cobrands/fixmystreet/fixmystreet.js' %]
<script src="[% version('/js/fancybox/jquery.fancybox-1.3.4.pack.js') %]" charset="utf-8"></script>
@@ -86,6 +86,8 @@
</div>
</header>
+ [% pre_container_extra %]
+
<div class="container">
<div class="content[% " $mainclass" | html IF mainclass %]" role="main">
diff --git a/templates/web/barnet/index.html b/templates/web/barnet/index.html
index 0dfacf499..33e12487a 100644
--- a/templates/web/barnet/index.html
+++ b/templates/web/barnet/index.html
@@ -16,13 +16,7 @@ Modernizr.load({
</script>
[% END %]
-[% INCLUDE 'header.html', title => '' , bodyclass => 'frontpage fullwidthpage' %]
-
-[% IF error %]
- <p class="error">[% error %]</p>
-[% END %]
-
-
+[% pre_container_extra = BLOCK %]
<div id="front-main">
<div id="front-main-container">
<h1>[% loc('Report, view, or discuss local problems') %]</h1>
@@ -44,6 +38,13 @@ Modernizr.load({
</form>
</div>
</div>
+[% END %]
+
+[% INCLUDE 'header.html', title => '' , bodyclass => 'frontpage fullwidthpage' %]
+
+[% IF error %]
+ <p class="error">[% error %]</p>
+[% END %]
<div class="tablewrapper">
<div id="front-howto">