aboutsummaryrefslogtreecommitdiffstats
path: root/templates
Commit message (Collapse)AuthorAgeLines
...
* | Reword maximum number of images error message.Matthew Somerville2019-02-21-1/+1
|/
* [Bromley] Allow subcategory attachment to users.Matthew Somerville2019-02-18-0/+18
|
* Merge branch 'issues/commercial/1270-user-areas'Matthew Somerville2019-02-15-9/+11
|\
| * Allow user to be associated with multiple areas.Matthew Somerville2019-02-14-9/+11
| | | | | | | | | | | | Update database to store an array of IDs rather than only one; consequential changes to the admin and the dashboard to allow selection.
* | [UK Councils] Include unresponsive template.Matthew Somerville2019-02-15-0/+20
|/ | | | It is needed in e.g. South Kesteven; link to .com help page.
* [fixmystreet.com] Improve two-tier unresponsive.Matthew Somerville2019-02-11-4/+7
| | | | | | | Similarly to 1f69e28c, we were previously only checking the first matching entry, which led to confusing behaviour in places. Include consequential amendments for e.g. one body being unresponsive, the other not.
* Merge branch '2242-automatic-permalink'Matthew Somerville2019-02-05-3/+3
|\
| * Improve use of OL ArgParser/missing zoom in URL.Matthew Somerville2019-02-04-1/+1
| | | | | | | | | | | | Remove the server-side zoom-in-url fix, instead use an ArgParser subclass to default to the provided data if nothing in URL. Then we can switch to using short lat/lon in geocoder URLs.
| * Update URL whenever map moves, using replaceState.Dave Arter2019-02-04-2/+2
| | | | | | | | | | | | Fixes #2242. Co-authored-by: Matthew Somerville <matthew@mysociety.org>
* | Merge branch 'fix-code-starting-underscore-display'Matthew Somerville2019-02-05-5/+6
|\ \ | |/ |/|
| * Allow Open311 codes starting with ‘_’ to function.Matthew Somerville2019-02-04-5/+6
| | | | | | | | | | | | Template Toolkit treats keys starting with ‘_’ as private and does not expose them. It is possible for an Open311 server to return fields starting with an underscore, and we want to use those in the template.
* | Merge branch '2369-admin-list-field-bug'Matthew Somerville2019-02-04-3/+3
|\ \
| * | Metadata automated select is not a type select.Matthew Somerville2019-02-01-1/+1
| | |
| * | No need to pass c to cobrand function.Matthew Somerville2019-02-01-2/+2
| |/
* / [UK Councils] Only load map JavaScript on map pages.Matthew Somerville2019-02-01-4/+15
|/ | | | And load main assets script so highways script does not error.
* Merge branch 'bucks-topic-question-all'Matthew Somerville2019-02-01-0/+0
|\
| * [UK Councils] Get topic when reporting abuse.Matthew Somerville2019-01-31-0/+0
| |
* | Add CSRF and time to contact form.Matthew Somerville2019-02-01-2/+12
|/
* [fixmystreet.com] Remove donate banner.Matthew Somerville2019-01-29-5/+0
|
* [fixmystreet.com] Update unresponsive page for Northamptonshire.Matthew Somerville2019-01-29-3/+36
|
* Reduce JavaScript on appcache page.Matthew Somerville2019-01-29-1/+3
|
* Set inline JavaScript variables directly.Matthew Somerville2019-01-29-6/+3
|
* Spot moderation conflicts.Matthew Somerville2019-01-25-8/+10
| | | | | If someone tries to moderate after someone else has, re-show the form and an error.
* Stop redirecting on moderation error.Matthew Somerville2019-01-25-0/+4
| | | | This will also be used by the moderation conflict code.
* Do not show Discard changes button if no JS.Matthew Somerville2019-01-25-2/+2
|
* Merge branch 'moderation-in-front-end-updates'Matthew Somerville2019-01-16-13/+24
|\
| * Include moderation history in report updates.Matthew Somerville2019-01-16-13/+24
| | | | | | | | | | | | If the user has moderating permission, or a cobrand allows the viewing of moderation history, show moderation history within the updates on a report page.
* | [Oxfordshire] length checking for names, emails and phone NosStruan Donald2019-01-16-0/+1
|/ | | | | | | Add in validation to check names, email and phone numbers don't exceed maximum lengths permitted by HIAMS. Fixes mysociety/fixmystreet-commercial#1244
* [Lincolnshire] Include ref in alert updates.Matthew Somerville2019-01-14-0/+2
|
* Have separate alert-update council ref template.Matthew Somerville2019-01-14-4/+9
| | | | | | | This is so a council could include the ref in other-* but not alert-update if not wanted. Update Bucks to use new template (not needed as it overrides for other reasons, but makes seeing those other reasons in a diff easier).
* [UK Councils] Tidy up email templates.Matthew Somerville2019-01-14-81/+8
| | | | | | Try and include _council_reference always in other-reported, no need for BANES other-updated, and include HTML version of a Bucks template so that it is used.
* allow field type to be set on category extras fieldsStruan Donald2019-01-14-1/+1
| | | | | Checks for a fieldtype property and uses that for the input type to allow setting the type of the field for e.g. date fields.
* Only select body by default if user has a body.Matthew Somerville2019-01-10-2/+2
| | | | | Otherwise you can get an error trying to look up the body name on submission.
* Factor out update form wrapper.Matthew Somerville2019-01-09-12/+13
|
* Add wrapper to map filters.Matthew Somerville2019-01-09-0/+4
|
* add private only report filterStruan Donald2019-01-04-0/+3
|
* Version 2.5.v2.5Matthew Somerville2018-12-21-1/+1
|
* Show all questionnaire responses lacking updates.Matthew Somerville2018-12-20-1/+8
| | | | | | Since questionnaire responses were recorded on email link click, we should have been showing those that reopened or fixed reports, not just steady-state "Still open" ones.
* [fixmystreet.com] Add donate banner.Matthew Somerville2018-12-19-0/+5
|
* [Buckinghamshire] Get topic when reporting abuse.Matthew Somerville2018-12-19-0/+48
|
* [fixmystreet.com] Get topic when reporting abuse.Matthew Somerville2018-12-19-3/+15
|
* Make who question more prominent.Matthew Somerville2018-12-19-32/+39
|
* Improved report/update display on contact form.Matthew Somerville2018-12-18-12/+12
|
* Stop both Unknown/In progress banners appearing.Matthew Somerville2018-12-13-6/+3
| | | | Previously, CSS was absolutely positioning one on top of the other.
* Modernise report "status" bannerZarino Zappia2018-12-13-9/+22
| | | | | | | | | | | | | * Simplify markup required for the status banner. * Simplify styles - the banner is now identical on all screen sizes. * Move the banner from `report/display.html` into `report/_main.html` so that it can appear after `.problem-back` in the source order. * Use real pin icon instead of `pin-flat-white-small.png`. * Set a default `$col_fixed_label` colour in `_base.scss`, so cobrands don’t have to define it themselves if they’re happy with green. * Introduce `$col_fixed_label_light`, with a sensible default for all cobrands, even ones that have a custom `$col_fixed_label`. * Remove `$col_fixed_label_dark` – no longer needed.
* [Buckinghamshire] Nicer not-our-road messages.Matthew Somerville2018-12-11-6/+28
|
* [Buckinghamshire] New tracking code.Matthew Somerville2018-12-08-14/+26
|
* [Bromley] Tidy up some form templates.Matthew Somerville2018-12-08-83/+33
|
* Show email form after logging in as leaving updateMatthew Somerville2018-12-08-11/+12
| | | | | | | | | With the recent login changes, the user form was being hidden after logging in while leaving an update, meaning you had to click "Continue" to see the thing it was asking you to check. Refactor the update flow slightly in this area to be more like reporting, showing the relevant bit of the user form immediately (and thus also not having it within a hidden section).
* Specify type variable to both in and out templatesMatthew Somerville2018-12-08-3/+3
| | | | All templates call private_details.html, which uses this variable.