aboutsummaryrefslogtreecommitdiffstats
path: root/perllib
diff options
context:
space:
mode:
Diffstat (limited to 'perllib')
-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.