diff options
author | Struan Donald <struan@exo.org.uk> | 2019-08-13 15:37:29 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2019-09-27 17:43:36 +0100 |
commit | 863c29fda1198e06bc9e1b424532e570cb70ca37 (patch) | |
tree | 459bb79cac56d649a4aec45148c41c675eb9b33c /t/app/controller/json.t | |
parent | 921d68cf084617405f4b978bff846ca94808b738 (diff) |
[IsleOfWight] add an admin interface to triage reports
On reports with a state of `for_triage` override the `_inspect.html`
template to display one which allows only allows the user to change the
category from one with a 'Triage' send_method to a non Triage
send_method.
When saved this records a comment with the original category and the
category it was triaged to. This is hidden from the site as it's only
used for audit purposes and sending over Open311.
This assumes that the triage categories have the same names as the
groups of the confirm categories. It uses this to select the first
confirm category in the group corresponding to the triage category.
This also makes the sidebar geolocation onclick handler check for the
presence of the button, as the triage inspect form does not have it.
Diffstat (limited to 't/app/controller/json.t')
0 files changed, 0 insertions, 0 deletions