From f55c261f92ea53d5a36da5d5297394baabd740a4 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Thu, 2 Apr 2020 15:27:34 +0100 Subject: [UK] Show data from StreetManager. --- web/cobrands/bathnes/js.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 web/cobrands/bathnes/js.js (limited to 'web/cobrands/bathnes/js.js') diff --git a/web/cobrands/bathnes/js.js b/web/cobrands/bathnes/js.js new file mode 100644 index 000000000..f76da5cd5 --- /dev/null +++ b/web/cobrands/bathnes/js.js @@ -0,0 +1,11 @@ +fixmystreet.roadworks.config = { + tag_top: 'h3', + colon: true, + text_after: "

If you think this issue needs immediate attention you can continue your report below

" +}; + +fixmystreet.roadworks.filter = function(feature) { + var category = $('select#form_category').val(), + categories = ['Damage to pavement', 'Damage to road', 'Faded road markings', 'Damaged Railing, manhole, or drain cover']; + return OpenLayers.Util.indexOf(categories, category) != -1; +}; -- cgit v1.2.3