diff options
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Northamptonshire.pm | 7 | ||||
-rw-r--r-- | web/cobrands/northamptonshire/assets.js | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Northamptonshire.pm b/perllib/FixMyStreet/Cobrand/Northamptonshire.pm index c15b73deb..945a1ac0d 100644 --- a/perllib/FixMyStreet/Cobrand/Northamptonshire.pm +++ b/perllib/FixMyStreet/Cobrand/Northamptonshire.pm @@ -44,6 +44,13 @@ sub on_map_default_status { 'open' } sub report_sent_confirmation_email { 'id' } +sub problems_on_map_restriction { + my ($self, $rs) = @_; + # Northamptonshire don't want to show district/borough reports + # on the site + return $self->problems_restriction($rs); +} + sub contact_email { my $self = shift; return join( '@', 'highways', $self->council_url . '.gov.uk' ); diff --git a/web/cobrands/northamptonshire/assets.js b/web/cobrands/northamptonshire/assets.js index dd4cda0e1..e40df75d0 100644 --- a/web/cobrands/northamptonshire/assets.js +++ b/web/cobrands/northamptonshire/assets.js @@ -335,7 +335,7 @@ var northants_defaults = $.extend(true, {}, fixmystreet.assets.alloy_defaults, { $p = $("<p id='overlapping_features_msg' class='hidden box-warning'>" + "There is more than one <span class='overlapping_item_name'></span> at this location. " + "Please describe which <span class='overlapping_item_name'></span> has the problem clearly.</p>"); - $p.insertAfter('#form_category_row'); + $p.prependTo('#js-post-category-messages'); } $p.find(".overlapping_item_name").text(this.fixmystreet.asset_item); $p.removeClass('hidden'); |