| Commit message (Collapse) | Author | Age | Lines |
... | |
|/
|
|
|
|
|
| |
This moves the response priority values from a cobrand-specific method to a full
DB model, and includes management screens in the admin for administering them.
For mysociety/fixmystreetforcouncils#66
|
|\ |
|
|/
|
|
|
|
|
|
|
|
|
| |
Categories can now require reports to be marked as 'inspected' via the frontend
before they're sent by send-reports.
A side-effect here is that send-reports will perform an extra n queries for each
report, where n is the number of bodies that report is being sent to, but
hopefully in practice this won't matter as it's an offline cronjob.
See mysociety/fixmystreetforcouncils#50
|
|\ |
|
| |
| |
| |
| |
| | |
A very subtle nudge that you can/should upload multiple photos. With a
fallback to singular if Dropzone fails to load for some reason.
|
| | |
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Form labels now describe what the user should do, and placeholders
give a supporting example of what their input should look like.
Placeholder text in the "Summary" box now suggests that people
include a location in their summary. Likewise with a timescale in
the "Description" box.
Placeholders use potholes as an example, since potholes are the most
common complaint on FMS. Maybe eventually we might want to change the
placeholder text based on the category the user selects…
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Firefox would, on a page that pulled in a report via ajax, only
return the reporting form's name field with #form_name. Switch
to using a class on the relevant fields.
|
| | |
|
| |
| |
| |
| | |
Firefox still only scrolls precisely to the focus.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
If the user is a member of the body the report was sent to (and the
cobrand has the option enabled), show the remove from site button.
This was previously cobrand-based (it was shown if the user was a
member of the body the cobrand has hardcoded as its council_id),
which was confusing and harder to implement. Fixes #1508.
|
| |
| |
| |
| |
| |
| |
| |
| | |
This introduces a new `is_council_with_case_management` flag for Cobrands, that,
when active, considers any report that's been confirmed as having been received
by the Council in question.
See mysociety/fixmystreetforcouncils#65
|
|\ \
| |/
|/| |
|
| | |
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
| |
This builds on the response templates in the Zürich cobrand:
- Allow response templates to be assigned to categories
- Also adds a auto_response flag, which will be used to automatically create
updates when reports are made.
- Include response templates select box on update form
For mysociety/fixmystreetforcouncils#31
|
|\ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|/ |
|
|\ |
|
| | |
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| | |
- Harmonise two-column sidebar with .with-notes convention
`body.mappage.twocol` is now `body.mappage.with-actions` to make it
more obvious that it’s just a special case like `.with-notes`.
- Make sidebar padding-bottom work with floated children
- Display a.btn elements correctly in Safari
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Fixes a bug with updates not being displayed correctly in the app.
|
|\ |
|
| |
| |
| |
| |
| |
| | |
If the form is submitted and reshown, due to an error or logging in, the
image preview is loaded from the server, rather than the client. We need
to get the image source data to get the Exif data out of it.
|
|/ |
|
|\ |
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This refactors the moderation JS into a fixmystreet.set_up function, and
ensures the button handlers are attached when a new report is loaded
over AJAX. A side effect of bringing it into fixmystreet.js instead of
its own moderate.js file is the few extra kb each user will have to
download, but hopefully gzip and caching will help ameliorate this.
|
|\ \ \
| |/ /
|/| | |
|
| | | |
|
|/ / |
|
|/
|
|
|
|
| |
When the form is shown via JavaScript, we need the email box to start
off editable as it is if you hadn't used JavaScript, and we also need
the change() to be fired on the right field.
|
|\ |
|
|/ |
|