aboutsummaryrefslogtreecommitdiffstats
path: root/templates
Commit message (Collapse)AuthorAgeLines
* 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.
* Merge branch 'issues/forcouncils/21-print-reports'Matthew Somerville2016-12-16-0/+58
|\
| * Improve print layout for report list pages.Zarino Zappia2016-12-16-0/+58
| | | | | | | | | | | | | | | | | | The main map page elements are given `position:static` to ensure they flow onto as many pages as required. The map image is floated to the right, rather than wasting space at the top of the file. We also, if the user has the inspect permission, include hidden rrint-only metadata in the report lists.
* | [fixmystreet.com] Add donate banner.Matthew Somerville2016-12-16-0/+45
| |
* | Merge branch 'issues/forcouncils/20-offline-inspecting'Matthew Somerville2016-12-16-171/+254
|\ \ | |/ |/|
| * Add a clear offline data button.Matthew Somerville2016-12-16-0/+2
| |
| * Add offline storing of inspect forms.Matthew Somerville2016-12-16-0/+4
| | | | | | | | | | | | | | | | | | | | This allows the inspect form to be submitted when offline, with the data saved in localStorage, the number of saved forms shown in the banner, and the forms to be uploaded when back online. It copes if you go back to a report after having submitted the form, and if the back-online submission fails due to CSRF failure, retrying once with a new token.
| * Store/show shortlisted reports offline.Matthew Somerville2016-12-16-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This: * On an online visit to /my/planned, caches all shortlisted reports, their images and static maps in localStorage, with progress banner; * When a report is added/removed from the shortlist, caches/de-caches that report; * When viewing a report page offline, shows that page from the cache if present (replacing the dynamic map with the cached static map, and replacing report images with their cached equivalents – it is a shame to duplicate, but we cannot rely on the browser cache having these images); * When viewing another page offline, shows an error message but also the list of shortlisted reports that are cached (again, replacing their thumbnail images with the cached versions).
| * Add offline support of static files/fallback page.Matthew Somerville2016-12-16-167/+242
| | | | | | | | | | Use a list to store JavaScript files, so it can be shared between the HTML footer and the appcache manifest.
| * Drop unneeded Cancel button on inspect form.Matthew Somerville2016-12-16-1/+0
| |
| * Default inspect form to save with public update.Matthew Somerville2016-12-16-1/+1
| |
* | Don't fix height of admin multiple selects.Matthew Somerville2016-12-16-2/+2
| | | | | | | | | | | | The styling applied to the nice front end multi-select dropdowns should not be applied to the admin multi-select ones, until such time as they are using the nice select interface too.
* | Fix flagging wording template link.Matthew Somerville2016-12-16-7/+15
| | | | | | | | | | | | f58ce6c4 changed the base contact template to include a link to a fixmystreet.com specific page. Revert this back and make the change in the correct cobrand only.
* | Merge branch 'issues/forcouncils/108-pick-up-a-priority'Matthew Somerville2016-12-15-4/+4
|\ \ | |/ |/|
| * Update priorities in inspect form on cat. change.Matthew Somerville2016-12-15-4/+4
| | | | | | | | | | Different categories may have a different list of priorities, so store them all and update as the category changes.
* | Make it clearer that report is closed when marked as duplicateDave Arter2016-12-13-2/+2
| | | | | | | | | | | | - Record state change when leaving update and marking as duplicate - Change save button wording to match problem state when inspecting - Make it clearer that updates marking a report as duplicate actually close the report
* | Signpost users to original version of duplicate reportsDave Arter2016-12-13-141/+164
| | | | | | | | This stops updates being left on duplicates.
* | Refactor JS to work with ajax-loaded reportsDave Arter2016-12-13-2/+1
| |
* | Better preserve chosen duplicate report if state is changedDave Arter2016-12-13-2/+4
| |
* | If a problem has duplicates, display them on its detail pageDave Arter2016-12-13-22/+30
| |
* | Store and display selected duplicate reportDave Arter2016-12-13-4/+9
| |
* | Display nearby duplicate reports when setting report category to ‘duplicate’Dave Arter2016-12-13-0/+5
| |
* | Load OpenLayers stylesheet directly, not via JS.Matthew Somerville2016-12-09-0/+2
|/ | | | | This lets us version and cache-bust it as necessary, plus let browser decide how to load it, we're always going to need it.
* [Oxfordshire] Update phone number on FAQ pageDave Arter2016-12-08-2/+2
| | | | Fixes mysociety/fixmystreetforcouncils#133
* [fixmystreet.com] Fix typo on /about/council.Matthew Somerville2016-12-06-1/+1
|
* Open inspect Navigate link in new tab.Matthew Somerville2016-11-25-1/+1
|
* Update wording on flagging unsuitable reports.Matthew Somerville2016-11-25-2/+4
|
* [Bromley] Fix map tiles.Matthew Somerville2016-11-18-1/+10
| | | | | The change to remove inline JavaScript stopped the Bromley-specific tiles from working. Put them back with an extra JavaScript file.
* Merge branch 'version-2.0'v2.0Matthew Somerville2016-11-15-61/+61
|\