diff options
author | Dave Arter <davea@mysociety.org> | 2016-07-19 15:56:26 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2016-09-06 15:05:09 +0100 |
commit | 6f82bb9e094d679d24a6286259e7652fd1304639 (patch) | |
tree | 82e1375a50daacd03750328a1bdaef7568a48d38 /perllib/FixMyStreet/Cobrand | |
parent | d3ce66d0add6754dd54624f1d35efc922054ce9b (diff) |
Add inspector report detail view
Users with the `report_inspect` permission can click a new 'inspect' button on a
report page to input more detailed problem information into a new form that
appears in a column alongside the report detail.
- Inspector data is stored in problem's 'extra' field
- Report category/state can be edited
- Location can be changed by dragging the pin or HTML5 geolocation
(Factored out Zurich admin pin drag into own function)
For mysociety/fixmystreetforcouncils#22
Diffstat (limited to 'perllib/FixMyStreet/Cobrand')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Oxfordshire.pm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Oxfordshire.pm b/perllib/FixMyStreet/Cobrand/Oxfordshire.pm index d127f5e13..8def4fb06 100644 --- a/perllib/FixMyStreet/Cobrand/Oxfordshire.pm +++ b/perllib/FixMyStreet/Cobrand/Oxfordshire.pm @@ -92,6 +92,15 @@ sub problem_response_days { return undef; } +sub problem_response_priorities { + return { + cat1a => 'Cat 1A (4 hours)', + cat1b => 'Cat 1B (24 hours)', + cat2 => 'Cat 2 (2 days)', + cat3 => 'Cat 3 (10 days)', + }; +} + sub reports_ordering { return { -desc => 'confirmed' }; } |