diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-05-31 17:51:05 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-05-31 17:51:05 +0100 |
commit | a6f6ebbe50bf0eb7f2d0065f9755b5038dcbb3c2 (patch) | |
tree | 827995a21a0a2debf1bcd1166ca44ed9480a5804 | |
parent | b9f975834b4e5b5850d4b11021f598f8044b91f7 (diff) |
Only have fancybox on page that needs it.
-rw-r--r-- | templates/web/bromley/header.html | 4 | ||||
-rw-r--r-- | templates/web/bromley/report/display.html | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/templates/web/bromley/header.html b/templates/web/bromley/header.html index eea690c7d..1034916d9 100644 --- a/templates/web/bromley/header.html +++ b/templates/web/bromley/header.html @@ -12,15 +12,15 @@ <link rel="stylesheet" href="[% version('/cobrands/bromley/base.css') %]"> <link rel="stylesheet" href="[% version('/cobrands/bromley/layout.css') %]" media="(min-width:48em)"> - <link rel="stylesheet" href="[% version('/js/fancybox/jquery.fancybox-1.3.4.css') %]"> <link rel="stylesheet" href="[% version('/cobrands/bromley/bromley.css') %]"> + [% extra_css %] <!--[if (lt IE 9) & (!IEMobile)]> <link rel="stylesheet" href="[% version('/cobrands/bromley/layout.css') %]"> <![endif]--> <script src="[% version('/js/modernizr.custom.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> + [% extra_js %] <link rel="Shortcut Icon" type="image/x-icon" href="/cobrands/bromley/favicon.ico"> diff --git a/templates/web/bromley/report/display.html b/templates/web/bromley/report/display.html index 131416bb2..071f9b3ca 100644 --- a/templates/web/bromley/report/display.html +++ b/templates/web/bromley/report/display.html @@ -1,4 +1,5 @@ [% + PROCESS "report/photo-js.html"; PROCESS "maps/${map.type}.html"; problem_title = problem.title _ ' - ' _ loc('Viewing a problem'); |