aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2014-03-14 12:34:10 +0000
committerMatthew Somerville <matthew@mysociety.org>2014-03-14 12:34:10 +0000
commit9cc48219d3b55b5f658b17bbd4fd8223c8aa4861 (patch)
tree7cde1ef044cb32101d1c8cc40d529e22ceadce58
parent797546c15d00dee15051495901c1dbbf96b0508f (diff)
parentf56ef364268ce761f697a2b883ea7161fdc946da (diff)
Merge branch 'jonkri-master'
-rw-r--r--perllib/Open311.pm4
-rw-r--r--templates/email/fixamingata/submit-brent.txt2
-rw-r--r--templates/email/fixamingata/submit.txt2
-rwxr-xr-xtemplates/web/fixamingata/faq/faq-sv.html2
4 files changed, 7 insertions, 3 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";
diff --git a/templates/email/fixamingata/submit-brent.txt b/templates/email/fixamingata/submit-brent.txt
index c94e6e1e4..75a954765 100644
--- a/templates/email/fixamingata/submit-brent.txt
+++ b/templates/email/fixamingata/submit-brent.txt
@@ -1,6 +1,6 @@
Subject: FMS Problem Report: <?=$values['title']?>
-Dear <?=$values['councils_name']?>,
+Dear <?=$values['bodies_name']?>,
<?=$values['missing']?><?=$values['multiple']?>A user of
FixMyStreet has submitted the following report
diff --git a/templates/email/fixamingata/submit.txt b/templates/email/fixamingata/submit.txt
index 1fd9b8d25..547099ba6 100644
--- a/templates/email/fixamingata/submit.txt
+++ b/templates/email/fixamingata/submit.txt
@@ -1,6 +1,6 @@
Subject: Ny rapport: <?=$values['title']?>
-Till <?=$values['councils_name']?>,
+Till <?=$values['bodies_name']?>,
Det här meddelandet rör en rapport om ett problem i gatumiljön som en
medborgare lämnat via tjänsten Fixa Min Gata.
diff --git a/templates/web/fixamingata/faq/faq-sv.html b/templates/web/fixamingata/faq/faq-sv.html
index 897a6f4e5..c21b3b45a 100755
--- a/templates/web/fixamingata/faq/faq-sv.html
+++ b/templates/web/fixamingata/faq/faq-sv.html
@@ -106,7 +106,7 @@ landsting i Sambruk. Tjänsten togs fram i samarbete med <a href="http://kivos.s
<dt>Finns källkoden tillgänglig?</dt>
<dd>
Programvaran bakom den här tjänsten är öppen programvara och tillgänglig
-under Affero GPL (AGPL). Du kan <a href="http://github.com/MorusAB/fixmystreet">ladda ner</a> källkoden och hjälpa oss utveckla den. Du är också välkommen att använda den i dina egna projekt!
+under Affero GPL (AGPL). Du kan <a href="http://github.com/mysociety/fixmystreet">ladda ner</a> källkoden och hjälpa oss utveckla den. Du är också välkommen att använda den i dina egna projekt!
</dd>
</dl>
<h2><a name="pul"></a>Personuppgiftsombud</h2>