aboutsummaryrefslogtreecommitdiffstats
path: root/templates
Commit message (Collapse)AuthorAgeLines
...
* Make sure existing state is included in drop-down.Matthew Somerville2017-05-26-1/+10
| | | | | It is possible the report's state isn't one that the user can access, but in that case we should still show it to avoid confusion.
* [Oxfordshire] Use instruct perm to filter state.Matthew Somerville2017-05-26-1/+4
| | | | | Without the report_instruct permission, the 'action scheduled' state is not an option in the dropdown.
* Use same state input in update form as elsewhere.Matthew Somerville2017-05-26-10/+2
| | | | This lets it look the same as admin/inspect uses, with optgroups.
* [Hart] Restyle footerpezholio2017-05-23-47/+57
|
* [fixmystreet.com] Update Councils pageMartin Wright2017-05-23-124/+540
| | | | | Includes a new feature/benefit grid, a shorter contact form, and a nifty pricing table that switches into vertical mode on narrow screens.
* [fixmystreet.com] FMS Pro banner on homepageZarino Zappia2017-05-23-14/+10
| | | | | Includes a new, brighter tile.jpg, to improve text contrast and to match the $primary colour of #FFD000.
* Simplify `footer-marketing.html` for most cobrandsZarino Zappia2017-05-23-20/+7
|
* Move third party libraries into vendor directoriesMatthew Somerville2017-05-23-36/+36
| | | | | | | | This makes the git hook that lints our own JavaScript easier, and keeps things more cleanly separated. We also remove unused third party libraries (select2 and jquery.placeholder).
* Remove superfluous quote in HTML script element.Matthew Somerville2017-05-23-1/+1
|
* [Oxfordshire] Send RDI reports by email.Matthew Somerville2017-05-16-0/+8
|
* Hide "Provide an update" form by default for inspectorsZarino Zappia2017-05-16-3/+3
|
* More visually distinct Inspect formZarino Zappia2017-05-16-0/+3
|
* Allow inspectors to shortlist all reports in viewpezholio2017-05-05-1/+7
| | | | If zoom level is >= 14, then inspectors can click a button that marks all reports in the map view as shortlisted
* Add csrf token to headerpezholio2017-05-05-0/+4
|
* Select body by default for inspectorspezholio2017-05-05-3/+3
|
* Autopopulate title and description for inspectorspezholio2017-05-05-2/+2
|
* [fixmystreet.com] Include URL in Twitter share link.Matthew Somerville2017-04-28-1/+1
|
* Fix issue with categories with regex characters.Matthew Somerville2017-04-13-2/+2
| | | | | | As the templates were using `grep`, they failed to match on a category such as "Footpaths (right of way)". Changing the stash variables to be hashes instead of lists makes checking for a key simpler. Fixes #1688.
* Factor out shared admin template.Matthew Somerville2017-04-13-29/+17
|
* [SeeSomething] Remove cobrand.Matthew Somerville2017-03-31-464/+0
|
* Merge branch 'dominican-republic-improvements'Matthew Somerville2017-03-31-89/+118
|\
| * Improve translatability of various pages.Dave Arter2017-03-30-85/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | This commit makes the following parts of the site translatable: - Social login buttons - Moderation UI - Offline glitch page & offline caching UI - Dashboard It also fixes a bug in the nget parser, stops some Oxfordshire bits being translated for the moment, and brings the translation file up to date.
| * Use lat/lon on inspection form if local coordinates aren’t availableDave Arter2017-03-30-3/+9
| |
| * Use Google Maps JS API key, if present.Dave Arter2017-03-30-1/+6
| | | | | | | | | | This appends the GOOGLE_MAPS_API_KEY to the Google Maps JavaScript URL as a `key` parameter.
* | Add GA tracking URL parameters to links to WriteToThemNick Jackson2017-03-30-5/+5
|/
* Add customisable defect types.Dave Arter2017-03-23-12/+127
| | | | | | | | | Problems can have an associated defect type, that can be assigned during an inspection. Include an admin interface for managing these types, that can also be assigned on a per-category basis, currently available to the Oxfordshire cobrand. (Also include 'TM' in traffic management Exor RDI output.)
* Show loading indicator when loading pinspezholio2017-03-17-1/+3
|
* [fixmystreet.com] Remove friendly A/B test.Matthew Somerville2017-03-16-79/+0
| | | | This has been running for a year, added in e17eb20.
* 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
|