aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perllib/FixMyStreet/Cobrand/Oxfordshire.pm8
-rw-r--r--web/i/pin-grey-big.pngbin0 -> 5063 bytes
-rw-r--r--web/i/pin-grey.pngbin0 -> 3254 bytes
3 files changed, 8 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Oxfordshire.pm b/perllib/FixMyStreet/Cobrand/Oxfordshire.pm
index 79be7b86f..a1b0a3d11 100644
--- a/perllib/FixMyStreet/Cobrand/Oxfordshire.pm
+++ b/perllib/FixMyStreet/Cobrand/Oxfordshire.pm
@@ -93,4 +93,12 @@ sub reports_ordering {
return { -desc => 'confirmed' };
}
+sub pin_colour {
+ my ( $self, $p, $context ) = @_;
+ return 'grey' if $p->state eq 'not responsible';
+ return 'green' if $p->is_fixed || $p->is_closed;
+ return 'red' if $p->state eq 'confirmed';
+ return 'yellow';
+}
+
1;
diff --git a/web/i/pin-grey-big.png b/web/i/pin-grey-big.png
new file mode 100644
index 000000000..02117aa5e
--- /dev/null
+++ b/web/i/pin-grey-big.png
Binary files differ
diff --git a/web/i/pin-grey.png b/web/i/pin-grey.png
new file mode 100644
index 000000000..866e6ebe7
--- /dev/null
+++ b/web/i/pin-grey.png
Binary files differ