aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/cobrands/fixmystreet-uk-councils/council_validation_rules.js4
-rw-r--r--web/cobrands/northamptonshire/assets.js16
2 files changed, 15 insertions, 5 deletions
diff --git a/web/cobrands/fixmystreet-uk-councils/council_validation_rules.js b/web/cobrands/fixmystreet-uk-councils/council_validation_rules.js
index ee3dfde88..49c23db89 100644
--- a/web/cobrands/fixmystreet-uk-councils/council_validation_rules.js
+++ b/web/cobrands/fixmystreet-uk-councils/council_validation_rules.js
@@ -17,6 +17,10 @@ body_validation_rules = {
'Lincolnshire County Council': confirm_validation_rules,
'Bath and North East Somerset Council': confirm_validation_rules,
'Rutland County Council': {
+ title: {
+ required: true,
+ maxlength: 254
+ },
name: {
required: true,
maxlength: 40
diff --git a/web/cobrands/northamptonshire/assets.js b/web/cobrands/northamptonshire/assets.js
index fe726a1a8..07745ac8b 100644
--- a/web/cobrands/northamptonshire/assets.js
+++ b/web/cobrands/northamptonshire/assets.js
@@ -257,26 +257,28 @@ var layers = [
},
{
"categories": [ "Bridge-Damaged/ Missing" ],
- "item_name": "bridge",
+ "item_name": "bridge or right of way",
"layer_name": "BRIDGES",
"layer": 177,
"version": "177.18-"
},
{
"categories": [ "Gate - Damaged/ Missing" ],
+ "item_name": "gate or right of way",
"layer_name": "GATE",
"layer": 181,
"version": "181.3-"
},
{
"categories": [ "Stile-Damaged/Missing" ],
+ "item_name": "stile or right of way",
"layer_name": "STILE",
"layer": 185,
"version": "185.3-"
},
{
"categories": [ "Sign/Waymarking - Damaged/Missing" ],
- "item_name": "waymarking",
+ "item_name": "waymarking or right of way",
"layer_name": "WAYMARK POST",
"layer": 187,
"version": "187.3-"
@@ -485,8 +487,8 @@ var highways_style = new OpenLayers.Style({
fixmystreet.assets.add(northants_road_defaults, {
protocol_class: OpenLayers.Protocol.Alloy,
http_options: {
- layerid: is_live ? 20 : 308,
- layerVersion: is_live ? '20.123-' : '308.8-',
+ layerid: 20,
+ layerVersion: '20.143-',
},
stylemap: new OpenLayers.StyleMap({
'default': highways_style
@@ -541,8 +543,12 @@ fixmystreet.assets.add(northants_road_defaults, {
no_asset_msg_id: "#js-not-a-road",
asset_item: 'right of way',
asset_category: [
+ "Bridge-Damaged/ Missing",
+ "Gate - Damaged/ Missing",
"Livestock",
- "Passage-Obstructed/Overgrown"
+ "Passage-Obstructed/Overgrown",
+ "Sign/Waymarking - Damaged/Missing",
+ "Stile-Damaged/Missing"
]
});