Skip to content

Commit

Permalink
[Bexley] Add customised map pins
Browse files Browse the repository at this point in the history
  • Loading branch information
MorayMySoc authored and dracos committed Feb 26, 2025
1 parent 37941ef commit fae5166
Show file tree
Hide file tree
Showing 21 changed files with 23 additions and 0 deletions.
20 changes: 20 additions & 0 deletions perllib/FixMyStreet/Cobrand/Bexley.pm
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,26 @@ ID.
=cut

=item * Customised pin colours
Bexley has supplied their own colours for pins #4521
=cut

sub path_to_pin_icons { '/i/pins/bexley/' }

sub pin_new_report_colour { 'yellow' }

sub pin_colour {
my ( $self, $p ) = @_;

Check warning on line 113 in perllib/FixMyStreet/Cobrand/Bexley.pm

View check run for this annotation

Codecov / codecov/patch

perllib/FixMyStreet/Cobrand/Bexley.pm#L113

Added line #L113 was not covered by tests
return 'bexley/aqua' if $p->state eq 'investigating';
return 'bexley/orange' if $p->state eq 'action scheduled';
return 'bexley/grape' if $p->state eq 'not responsible';
return 'green-tick' if $p->is_fixed;
return 'bexley/spring' if $p->is_closed;
return 'yellow';

Check warning on line 119 in perllib/FixMyStreet/Cobrand/Bexley.pm

View check run for this annotation

Codecov / codecov/patch

perllib/FixMyStreet/Cobrand/Bexley.pm#L119

Added line #L119 was not covered by tests
}

sub disable_resend_button { 1 }

sub category_change_force_resend {
Expand Down
Binary file added web/i/pins/bexley/aqua/big.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added web/i/pins/bexley/aqua/mini.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added web/i/pins/bexley/aqua/pin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added web/i/pins/bexley/aqua/small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added web/i/pins/bexley/grape/big.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added web/i/pins/bexley/grape/mini.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added web/i/pins/bexley/grape/pin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added web/i/pins/bexley/grape/small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added web/i/pins/bexley/orange/big.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added web/i/pins/bexley/orange/mini.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added web/i/pins/bexley/orange/pin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added web/i/pins/bexley/orange/small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions web/i/pins/bexley/shadow/big.png
1 change: 1 addition & 0 deletions web/i/pins/bexley/shadow/pin.png
1 change: 1 addition & 0 deletions web/i/pins/bexley/shadow/small.png
Binary file added web/i/pins/bexley/spot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added web/i/pins/bexley/spring/big.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added web/i/pins/bexley/spring/mini.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added web/i/pins/bexley/spring/pin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added web/i/pins/bexley/spring/small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fae5166

Please sign in to comment.