diff options
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Bromley.pm | 1 | ||||
-rw-r--r-- | templates/web/bromley/header.html | 1 | ||||
-rw-r--r-- | web/cobrands/bromley/position_map.js | 19 |
3 files changed, 21 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Bromley.pm b/perllib/FixMyStreet/Cobrand/Bromley.pm index 4f2535437..3147860d0 100644 --- a/perllib/FixMyStreet/Cobrand/Bromley.pm +++ b/perllib/FixMyStreet/Cobrand/Bromley.pm @@ -10,6 +10,7 @@ sub council_id { return 2482; } sub council_area { return 'Bromley'; } sub council_name { return 'Bromley Council'; } sub council_url { return 'bromley'; } +sub all_reports_style { return 'detailed'; } sub base_url { 'https://fix.bromley.gov.uk'; diff --git a/templates/web/bromley/header.html b/templates/web/bromley/header.html index 1034916d9..69a595923 100644 --- a/templates/web/bromley/header.html +++ b/templates/web/bromley/header.html @@ -19,6 +19,7 @@ <![endif]--> <script src="[% version('/js/modernizr.custom.js') %]" charset="utf-8"></script> + <script src="[% version('/cobrands/bromley/position_map.js') %]" charset="utf-8"></script> [% INCLUDE 'common_header_tags.html', js_override = '/cobrands/fixmystreet/fixmystreet.js' %] [% extra_js %] diff --git a/web/cobrands/bromley/position_map.js b/web/cobrands/bromley/position_map.js new file mode 100644 index 000000000..dddef3def --- /dev/null +++ b/web/cobrands/bromley/position_map.js @@ -0,0 +1,19 @@ +function position_map_box() { + var $html = $('html'); + var bromley_right; + if ($html.hasClass('ie6') || $html.hasClass('ie7')) { + bromley_right = '-480px'; + } else { + bromley_right = '0em'; + } + // Do the same as CSS (in case resized from mobile). + $('#map_box').prependTo('.content').css({ + zIndex: 1, position: 'absolute', + top: '1em', left: '', right: bromley_right, bottom: '', + width: '464px', height: '464px', + margin: 0 + }); +} + +function map_fix() {} +var slide_wards_down = 1; |