From 514c4da6c45af09e08c8528c479eca039c3997ab Mon Sep 17 00:00:00 2001 From: rbg-joe Date: Mon, 6 Feb 2017 15:25:53 +0000 Subject: [Greenwich] Add a badge to official status updates Adding an official badge to Greenwich updates so as to avoid exchanges in which public contributions are mistaken for official ones. As per the Bromley version e.g. https://fix.bromley.gov.uk/report/973784 - this helps to avoid situations where public contributions are mistaken for official ones. --- perllib/FixMyStreet/DB/Result/Comment.pm | 2 ++ web/cobrands/greenwich/favicon.png | Bin 0 -> 1298 bytes 2 files changed, 2 insertions(+) create mode 100644 web/cobrands/greenwich/favicon.png diff --git a/perllib/FixMyStreet/DB/Result/Comment.pm b/perllib/FixMyStreet/DB/Result/Comment.pm index a15400cc1..26ba89fda 100644 --- a/perllib/FixMyStreet/DB/Result/Comment.pm +++ b/perllib/FixMyStreet/DB/Result/Comment.pm @@ -245,6 +245,8 @@ sub meta_line { my $body = $self->user->body; if ($body eq 'Bromley Council') { $body = "$body "; + } elsif ($body eq 'Royal Borough of Greenwich') { + $body = "$body "; } if ($c->user_exists and $c->user->has_permission_to('view_body_contribute_details', $self->problem->bodies_str_ids)) { $meta = sprintf( _( 'Posted by %s (%s) at %s' ), $body, $user_name, Utils::prettify_dt( $self->confirmed ) ); diff --git a/web/cobrands/greenwich/favicon.png b/web/cobrands/greenwich/favicon.png new file mode 100644 index 000000000..c107d24ef Binary files /dev/null and b/web/cobrands/greenwich/favicon.png differ -- cgit v1.2.3