aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/admin/triage.t
Commit message (Collapse)AuthorAgeLines
* Replace use of FixMyStreet::App with DB in tests.Matthew Somerville2019-11-22-1/+1
|
* [IsleOfWight] do not send comment recording triage actionStruan Donald2019-09-27-2/+1
| | | | | This is only used for audit purposes on FixMyStreet and not required in Confirm.
* do not send triage comments in alertsStruan Donald2019-09-27-0/+15
| | | | | | add a check into the Alerts script to skip comments that have `triage_report` set in extra. Otherwise we send these our in new_updates alerts.
* [IsleOfWight] add an admin interface to triage reportsStruan Donald2019-09-27-0/+112
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.