aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/cobrands/hounslow/assets.js70
1 files changed, 34 insertions, 36 deletions
diff --git a/web/cobrands/hounslow/assets.js b/web/cobrands/hounslow/assets.js
index ab9adc370..6bd603b8c 100644
--- a/web/cobrands/hounslow/assets.js
+++ b/web/cobrands/hounslow/assets.js
@@ -42,42 +42,40 @@ fixmystreet.assets.add($.extend(true, {}, defaults, {
asset_item: 'bin'
}));
-// Disabled for now as the data is quite out of date and causing problems
-// sending reports.
-// fixmystreet.assets.add($.extend(true, {}, defaults, {
-// http_options: {
-// params: {
-// TYPENAME: "trees"
-// }
-// },
-// asset_id_field: 'central_asset_id',
-// attributes: {
-// central_asset_id: 'central_asset_id',
-// asset_details: 'asset_Id'
-// },
-// asset_category: [
-// "Tree Danger/Obstruction",
-// "Branches overhanging",
-// "Damage By Tree",
-// "Dead/Dying/Diseased",
-// "Dying or dangerous tree",
-// "Empty tree Pit",
-// "Fallen or leaning tree",
-// "General Maintenance and pruning",
-// "Illuminated Traffic signal obstructed by vegetation",
-// "Traffic signal obstructed by vegetation",
-// "Pest: Tree/Shrub",
-// "Pests in trees and shrubs",
-// "Tree Branches Overhanging",
-// "Tree Maintenance",
-// "Tree causing damage to property",
-// "Tree obstructing street light",
-// "Trees or shrubs blocking visibility",
-// "Trees or shrubs causing obstruction of highway",
-// "Trees"
-// ],
-// asset_item: 'tree'
-// }));
+fixmystreet.assets.add($.extend(true, {}, defaults, {
+ http_options: {
+ params: {
+ TYPENAME: "trees"
+ }
+ },
+ asset_id_field: 'central_asset_id',
+ attributes: {
+ central_asset_id: 'central_asset_id',
+ asset_details: 'asset_number'
+ },
+ asset_category: [
+ "Tree Danger/Obstruction",
+ "Branches overhanging",
+ "Damage By Tree",
+ "Dead/Dying/Diseased",
+ "Dying or dangerous tree",
+ "Empty tree Pit",
+ "Fallen or leaning tree",
+ "General Maintenance and pruning",
+ "Illuminated Traffic signal obstructed by vegetation",
+ "Traffic signal obstructed by vegetation",
+ "Pest: Tree/Shrub",
+ "Pests in trees and shrubs",
+ "Tree Branches Overhanging",
+ "Tree Maintenance",
+ "Tree causing damage to property",
+ "Tree obstructing street light",
+ "Trees or shrubs blocking visibility",
+ "Trees or shrubs causing obstruction of highway",
+ "Trees"
+ ],
+ asset_item: 'tree'
+}));
fixmystreet.assets.add($.extend(true, {}, defaults, {
http_options: {