diff options
author | Steven Day <steve@mysociety.org> | 2015-07-29 11:16:09 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2015-09-17 14:32:05 +0100 |
commit | 50785978cba677df93c63fbdc9f62dacb8feaafe (patch) | |
tree | 66f10afc34e0f7f9fd326a95a3229de71f28db59 | |
parent | 7dad4736b0550cf53439d87591e4c79dce85ca0f (diff) |
[UK Councils] Add contact_email addresses to cobrands
This sets the contact email for:
- East Sussex
- Greenwich
- Oxfordshire
- Stevenage
-rw-r--r-- | perllib/FixMyStreet/Cobrand/EastSussex.pm | 15 | ||||
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Greenwich.pm | 5 | ||||
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Oxfordshire.pm | 5 | ||||
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Stevenage.pm | 5 |
4 files changed, 25 insertions, 5 deletions
diff --git a/perllib/FixMyStreet/Cobrand/EastSussex.pm b/perllib/FixMyStreet/Cobrand/EastSussex.pm index 5aabae449..2ba3a4f70 100644 --- a/perllib/FixMyStreet/Cobrand/EastSussex.pm +++ b/perllib/FixMyStreet/Cobrand/EastSussex.pm @@ -48,16 +48,16 @@ Can run with a script or command line like: =cut use constant POTHOLE_SIZES => [ - {'key' => ['Blank'], 'name' => ['--']}, - {'key' => ['golf'], 'name' => ['Golf ball sized']}, - {'key' => ['tennis'], 'name' => ['Tennis ball sized']}, + {'key' => ['Blank'], 'name' => ['--']}, + {'key' => ['golf'], 'name' => ['Golf ball sized']}, + {'key' => ['tennis'], 'name' => ['Tennis ball sized']}, {'key' => ['football'], 'name' => ['Football sized']}, {'key' => ['larger'], 'name' => ['Larger']} ]; use constant POTHOLE_DICT => { map { - @{ $_->{key} }, + @{ $_->{key} }, @{ $_->{name} }, } @{ POTHOLE_SIZES() }, }; @@ -86,7 +86,7 @@ sub temp_update_potholes_contact { 'description' => 'Size of the pothole?', 'required' => 'true', 'datatype' => 'singlevaluelist', - 'datatype_description' => {}, + 'datatype_description' => {}, 'values' => { 'value' => $self->POTHOLE_SIZES, }, @@ -123,5 +123,10 @@ sub send_questionnaires { return 0; } +sub contact_email { + my $self = shift; + return join( '@', 'highways', 'eastsussex.gov.uk' ); +} + 1; diff --git a/perllib/FixMyStreet/Cobrand/Greenwich.pm b/perllib/FixMyStreet/Cobrand/Greenwich.pm index 18b0c2f5e..7535a34bf 100644 --- a/perllib/FixMyStreet/Cobrand/Greenwich.pm +++ b/perllib/FixMyStreet/Cobrand/Greenwich.pm @@ -44,4 +44,9 @@ sub pin_colour { return 'yellow'; } +sub contact_email { + my $self = shift; + return join( '@', 'fixmystreet', 'royalgreenwich.gov.uk' ); +} + 1; diff --git a/perllib/FixMyStreet/Cobrand/Oxfordshire.pm b/perllib/FixMyStreet/Cobrand/Oxfordshire.pm index b9d48a95c..c78ae5e09 100644 --- a/perllib/FixMyStreet/Cobrand/Oxfordshire.pm +++ b/perllib/FixMyStreet/Cobrand/Oxfordshire.pm @@ -103,4 +103,9 @@ sub pin_colour { sub on_map_default_status { return 'open'; } +sub contact_email { + my $self = shift; + return join( '@', 'highway.enquiries', 'oxfordshire.gov.uk' ); +} + 1; diff --git a/perllib/FixMyStreet/Cobrand/Stevenage.pm b/perllib/FixMyStreet/Cobrand/Stevenage.pm index 1de44a50d..5e2f07341 100644 --- a/perllib/FixMyStreet/Cobrand/Stevenage.pm +++ b/perllib/FixMyStreet/Cobrand/Stevenage.pm @@ -29,5 +29,10 @@ sub default_map_zoom { return 3; } sub users_can_hide { return 1; } +sub contact_email { + my $self = shift; + return join( '@', 'csc', 'stevenage.gov.uk' ); +} + 1; |