aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-05-30 15:36:05 +0100
committerStruan Donald <struan@exo.org.uk>2012-05-30 15:36:05 +0100
commitb93af75f2c476720850b80be4d1e46bff665f111 (patch)
treefb34c56202483a1c1cc03b22f2640f6049d87040 /perllib/FixMyStreet
parent8422130e3ade6b92af3cdb54f97f8c11fdbbc6ce (diff)
parent7622984356a187d7a781ec26bf6dcadcbbd6d81f (diff)
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'perllib/FixMyStreet')
-rw-r--r--perllib/FixMyStreet/Cobrand/Bromley.pm3
-rw-r--r--perllib/FixMyStreet/Cobrand/Default.pm10
2 files changed, 13 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Bromley.pm b/perllib/FixMyStreet/Cobrand/Bromley.pm
index f7d885da2..4f2535437 100644
--- a/perllib/FixMyStreet/Cobrand/Bromley.pm
+++ b/perllib/FixMyStreet/Cobrand/Bromley.pm
@@ -27,6 +27,9 @@ sub site_title {
my ($self) = @_;
return "London Borough of Bromley - Report a problem in Bromley\x{2019}s streets or parks";
}
+sub site_name {
+ return 'Bromley FixMyStreet';
+}
sub disambiguate_location {
my $self = shift;
diff --git a/perllib/FixMyStreet/Cobrand/Default.pm b/perllib/FixMyStreet/Cobrand/Default.pm
index 7a82d728d..b69bb0f99 100644
--- a/perllib/FixMyStreet/Cobrand/Default.pm
+++ b/perllib/FixMyStreet/Cobrand/Default.pm
@@ -351,6 +351,16 @@ Return the title to be used in page heads.
sub site_title { 'FixMyStreet' }
+=head2 site_name
+
+Return short name for use in emails.
+
+=cut
+sub site_name {
+ my $self = shift;
+ $self->site_title;
+}
+
=head2 map_type
Return an override type of map if necessary.