aboutsummaryrefslogtreecommitdiffstats
path: root/templates
Commit message (Collapse)AuthorAgeLines
* Use name at time of moderation, include superusersMatthew Somerville2017-03-14-2/+2
| | | | This works better if e.g. a user stops being associated with a body.
* Be clearer if no states selected is not all statesMatthew Somerville2017-03-10-1/+5
| | | | As with 1115f106, a default might not be everything.
* Add is_in_progress Problem helper.Matthew Somerville2017-03-10-4/+2
|
* Merge branch 'issues/forcouncils/171-filter-dropdown-all'Matthew Somerville2017-03-10-1/+2
|\
| * Specify options in 'all' status filter.Matthew Somerville2017-03-09-1/+2
| | | | | | | | | | A cobrand may have a blank default that isn't everything, so the "All reports" option must specify all the possible options.
* | Move staff-only JavaScript to separate file.Matthew Somerville2017-03-10-1/+7
| |
* | Add submit buttons to admin index search forms.Matthew Somerville2017-03-09-0/+6
|/ | | | Also slightly tidy up display.
* Merge branch '1553-fms4c-contact-form'Matthew Somerville2017-03-03-33/+34
|\
| * [fixmystreet.com] Avoid /about/council redirects.Zarino Zappia2017-03-03-13/+13
| |
| * [fixmystreet.com] Clarify council contact form.Zarino Zappia2017-03-03-20/+21
| | | | | | | | | | | | | | | | | | | | * Tweak wording to make it clearer that the form is unsuitable for residents wanting to report street problems. * Record HTTP Referer when form is submitted, so we can see which pages are leading people to the FMS4C page. * Tidy up capitalisation elsewhere in headings on the page. Fixes #1553.
* | Add buttons to resize maps on report pagespezholio2017-03-02-1/+4
|/ | | | | | | | This improves usability on mobile devices, allowing users to pan around the problem and see the area in more detail. I've also changed the CSS around a bit, so we can use the `map-fullscreen` class in other places.
* Correct pluralise ‘days ago’ on problem last updateDave Arter2017-02-27-1/+1
|
* [Oxfordshire] Use 'days ago' format on problem listspezholio2017-02-27-2/+10
| | | | Fixes mysociety/fixmystreetforcouncils#98
* Include /admin link on top-level nav for admin usersDave Arter2017-02-16-0/+4
| | | | Fixes mysociety/fixmystreetforcouncils#166
* [Oxfordshire] Add Exor RDI file download featureDave Arter2017-02-15-0/+48
| | | | | | | | | | The RDI file format encapsulates information about inspections that have taken place, and can be uploaded into Exor to create defects in bulk. This commit adds a page to the Oxfordshire cobrand's admin allowing RDI files to be generated and downloaded from FMS. For mysociety/fixmystreetforcouncils#127
* [Oxfordshire] Don't show user reputation on other cobrandsDave Arter2017-02-15-8/+9
|
* [Oxfordshire] Add initials field to admin user edit formDave Arter2017-02-15-0/+13
|
* Clarify ‘inspected’ behaviourDave Arter2017-02-15-1/+1
| | | | | | A report is now considered 'inspected' if its state was changed by an inspector. Additionally, an AdminLog entry is created so the time of inspection and inspector can be recorded.
* Add external_id field to ResponsePriority for use with ExorDave Arter2017-02-15-0/+10
|
* [Oxfordshire] Old report archiving scriptpezholio2017-02-15-0/+86
| | | | | | | | | | | | | | | This script can be used for the bulk closure of old reports that haven't been updated in a long time. Reports that haven't been updated in a *really* long time (since 2014, by default) are simply closed, and those that haven't been updated since 2015 (by default) are closed and an email explaining the closure is sent to the report creator. This script can be used for other cobrands, but they'll need an archive.{txt,html} template in order for the emails to be sent. For mysociety/fixmystreetforcouncils#51
* Allow users to reopen closed reportspezholio2017-02-15-3/+7
| | | | Users can reopen their own reports when leaving an update.
* [SeeSomething] Use new main_nav.html for main menuDave Arter2017-02-14-9/+4
|
* [UK Councils] Use new main_nav.html for main menuDave Arter2017-02-14-205/+12
|
* Refactor main nav into reusable blocksDave Arter2017-02-14-29/+80
|
* [Harrogate] Remove unused cobrandDave Arter2017-02-09-362/+0
|
* [Oxfordshire] Show simpler state list on inspect formDave Arter2017-02-08-13/+59
| | | | | | | | | | Limits the state dropdown to those states which will be useful to OCC inspectors, as well as removing a few from the base template on the inspect form. Some slight template refactoring has made it easier for other cobrands to override the list, as well as sharing the template with the admin report_edit form to allow all states to be selected. Fixes mysociety/fixmystreetforcouncils#129
* [Oxfordshire] Allow cobrand-specific traffic management optionsDave Arter2017-02-08-2/+3
| | | | Fixes mysociety/fixmystreetforcouncils#159
* Add shortlist filterspezholio2017-02-07-0/+4
|
* Show ‘unable to fix’ state as ‘no further action’.Dave Arter2017-02-02-3/+3
| | | | Bromley had this already in its update state change messages.
* Simplify response template selector HTMLDave Arter2017-01-31-2/+0
| | | | | | | | | | | Using a div inside a p isn't valid, so the DOM was being restructured by the browser causing the 'save with public update' toggle on the inspect form to not work. This fixes the issue by removing the wrapper <div> and selecting the appropriate elements for toggling with the js- class on the <select>. Fixes mysociety/fixmystreetforcouncils#153
* Wrap problem list in `js-reports-list`pezholio2017-01-31-0/+2
|
* Mark two missing strings for translation.mccheung2017-01-21-2/+2
| | | | Fixes #1604.
* Include ‘Add user’ link on admin user search results pageDave Arter2017-01-19-0/+2
|
* Merge remote-tracking branch ↵pezholio2017-01-17-49/+1
|\ | | | | | | 'origin/issues/forcouncils/142-allow-anonymous-council-updates'
| * Refactor updates metadata output into modelpezholio2017-01-17-49/+1
| |
* | [Harrogate] Don’t link to closed cobrand from all reports pageDave Arter2017-01-16-1/+0
| |
* | Merge branch 'listshort'Matthew Somerville2017-01-12-10/+52
|\ \ | |/ |/|
| * Show shortlist icons in button on report pageZarino Zappia2017-01-12-2/+6
| |
| * Add shortlist buttons to report lists.Matthew Somerville2017-01-12-3/+39
| | | | | | | | | | | | | | This includes adding/removing reports from a user's shortlist, and manual reordering of a shortlist with up/down buttons. The backend code can cope with an item moving to any point in the list.
| * Show response priorities in report list itemsZarino Zappia2017-01-12-5/+7
| |
* | Use ‘*’ on admin page to signify superuser.Matthew Somerville2017-01-10-1/+1
| | | | | | | | | | As we now have many permissions, highlighting those who have the moderate permission is not very useful.
* | Allow staging sites to turn off appcache.Matthew Somerville2017-01-10-1/+0
| |
* | Move staging flags to their own config variable.Matthew Somerville2017-01-10-5/+9
| |
* | Update has_body_permission_to to allow superusers.Matthew Somerville2017-01-10-3/+3
|/
* Merge branch 'issues/forcouncils/141-reword-photo-advice'pezholio2017-01-10-0/+8
|\
| * [UK Councils] Reword photo advicepezholio2017-01-10-0/+8
| |
* | Prefill update field based on problem stateDave Arter2017-01-10-1/+1
| | | | | | | | | | | | | | If there’s a response template matching the problem’s new state, it’s selected and the update field prefilled accordingly. The exception to this is if the user has manually entered text into the update field already.
* | Allow editing of ResponseTemplate state in adminDave Arter2017-01-10-21/+29
|/ | | | This includes a refactor of the state dropdown field into its own template for easy reuse.
* [fixmystreet.com] Update text on council page.Matthew Somerville2017-01-04-3/+3
|
* Revert "[fixmystreet.com] Add donate banner."Matthew Somerville2017-01-03-45/+0
| | | | This reverts commit 03b715f6134e40fcce592e9c33b8a8f119dc814c.