aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/moderate.js
Commit message (Collapse)AuthorAgeLines
* Make sure moderation works on AJAX-loaded report.Dave Arter2016-08-26-51/+0
| | | | | | | | 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.
* Improve in-place moderation UIZarino Zappia2016-05-18-2/+11
| | | | | | | | | | | This rearranges the moderation UI into logical chunks, and improves the 'revert to original' checkboxes by: - hiding them unless there's some original text to revert to - displaying the text that will be reverted to in the appropriate input fields when checked. Part of mysociety/FixMyStreet-Commercial#731
* Improve item list CSS.Matthew Somerville2015-10-09-1/+1
| | | | | | | | | | | | Generally, a rewrite of issue-list-a to item-list--reports or item-list--wards (two different uses) and issue-list to item-list--updates, with subsequent renames/changes to children. For those cobrands using a different list showing a pin icon, use item-list__item--with-pin to stop needing to override existing classes. Fix a variety of niggling issues e.e ward list display, or overloading of the .text class.
* Fix lint issues in moderate.js.Matthew Somerville2015-10-07-6/+6
|
* Report moderationHakim Cassimally2014-08-13-0/+42
- redaction marked with [...] - of report and comments - stores original data - uses a single form, on the report/_main view - requires additional permissions (user_body_permissions) - Hide report functionality - Moderation notification/contact form - Moderation writes to admin_log