aboutsummaryrefslogtreecommitdiffstats
path: root/perllib
diff options
context:
space:
mode:
authorJon Kristensen <info@jonkri.com>2014-03-13 19:02:09 +0100
committerMatthew Somerville <matthew@mysociety.org>2014-03-14 12:33:42 +0000
commitf56ef364268ce761f697a2b883ea7161fdc946da (patch)
tree7cde1ef044cb32101d1c8cc40d529e22ceadce58 /perllib
parent5e3b8b21366c0269409d07569256787a24a91aee (diff)
Add extra Open311 strings for FixaMinGata
Diffstat (limited to 'perllib')
-rw-r--r--perllib/Open311.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perllib/Open311.pm b/perllib/Open311.pm
index 9b7614960..4f9b948ce 100644
--- a/perllib/Open311.pm
+++ b/perllib/Open311.pm
@@ -180,6 +180,10 @@ sub _generate_service_request_description {
if ($self->extended_description ne 'oxfordshire') {
$description = "title: " . $problem->title . "\n\n$description";
}
+ } elsif ($problem->cobrand eq 'fixamingata') {
+ $description .= "Beskrivning: " . $problem->detail . "\n\n";
+ $description .= "Länk till ärendet: " . $extra->{url} . "\n\n";
+ $description .= "Skickad via FixaMinGata\n";
} else {
$description .= $problem->title . "\n\n";
$description .= $problem->detail . "\n\n";