diff options
author | Struan Donald <struan@exo.org.uk> | 2014-03-11 15:10:30 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2014-04-08 13:21:09 +0100 |
commit | 8d81147d1f757e70393e08947c0be1b73ebfb3ae (patch) | |
tree | 95af1aba119f4657ce99c30e9d0b17f28b7847d5 | |
parent | b82228ce014cc87866d976eeb3ce6e454e87c336 (diff) |
cobrand file with geocoder etc config
also, make readonly, disable photos, questionnaires, never
hide old pins
Fixes #701
-rw-r--r-- | perllib/FixMyStreet/Cobrand/ZeroTB.pm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/ZeroTB.pm b/perllib/FixMyStreet/Cobrand/ZeroTB.pm new file mode 100644 index 000000000..bd25b6076 --- /dev/null +++ b/perllib/FixMyStreet/Cobrand/ZeroTB.pm @@ -0,0 +1,31 @@ +package FixMyStreet::Cobrand::ZeroTB; +use base 'FixMyStreet::Cobrand::Default'; + +use strict; +use warnings; + +sub site_title { return 'ZeroTB'; } + +sub country { + return 'IN'; +} + +sub languages { [ 'en-gb,English,en_GB' ] } +sub language_override { 'en-gb' } + +sub disambiguate_location { + return { + country => 'in', + town => 'Delhi', + bounds => [ 28.404625000000024, 76.838845800000072, 28.884380600000028, 77.347877500000067 ], + }; +} + +sub only_authed_can_create { return 1; } +sub allow_photo_display { return 0; } +sub allow_photo_upload{ return 0; } +sub send_questionnaires { return 0; } +sub on_map_default_max_pin_age { return 0; } + +1; + |