aboutsummaryrefslogtreecommitdiffstats
path: root/templates
Commit message (Collapse)AuthorAgeLines
* Do not try and moderate questionnaire responses.Matthew Somerville2018-08-31-1/+1
|
* Merge branch 'issues/collideoscope/30-user-moderation'Matthew Somerville2018-08-29-16/+19
|\
| * Allow cobrand to add extra ability to moderate.Matthew Somerville2018-08-29-10/+13
| |
| * Move moderation check to own function, tidy up.Matthew Somerville2018-08-28-2/+2
| |
| * Refactor together similar moderate functions.Matthew Somerville2018-08-28-4/+4
| |
* | Merge branch 'dev-confirmation-pages'Matthew Somerville2018-08-29-0/+41
|\ \
| * | Move all test endpoints under /_dev.Zarino Zappia2018-08-29-0/+41
| |/
* | Use site name in contact email subject line.Matthew Somerville2018-08-28-1/+1
| |
* | Remove need for category_extras ajax call.Matthew Somerville2018-08-28-0/+2
|/ | | | | | Add by_category output to the /report/new/ajax call, containing all the data that /report/new/category_extras returns for one category. Then alter the JS to use that data immediately when needed.
* [Lincolnshire] Link logo to Lincs homepageDave Arter2018-08-24-1/+1
|
* Merge branch 'user-agent-in-contact'Matthew Somerville2018-08-21-1/+8
|\
| * Include user agent in contact form emails.Matthew Somerville2018-08-21-1/+8
| |
* | Make it easier to prevent a form_detail_placeholder being printedZarino Zappia2018-08-20-2/+11
|/ | | | | | | | | | | | Previously, if you didn’t want a hint to appear under the main "details" textarea on the new report form, you had to override the entire `form_report.html` template, or leave the hint element in the markup but hide it with CSS. Now, you can set `form_detail_placeholder` to a falsey value, and the template won’t output the hint element at all. It also amends the `aria-describedby` attribute on the textarea so it doesn’t end up referencing a hint element that doesn’t exist.
* [Lincolnshire] Update front page wordingDave Arter2018-08-20-1/+3
| | | | Lincolnshire uses ‘division’ instead of ‘ward’ as well as Oxfordshire.
* [Lincolnshire] Add contact email addressDave Arter2018-08-17-0/+1
|
* [Lincolnshire] Add external contractors disclaimer textDave Arter2018-08-17-0/+12
|
* [Lincolnshire] Send ‘report logged’ emails; don’t show FMS ID on ↵Dave Arter2018-08-17-0/+10
| | | | confirmation page
* [Lincolnshire] Add assets to map & roadworks.org integrationDave Arter2018-08-17-0/+1
|
* [Lincolnshire] Add cobrand templates & stylesDave Arter2018-08-17-0/+53
|
* Set bodyclass on alert disambiguation/questionnaire pagesDave Arter2018-08-17-1/+2
| | | | This was causing layout issues on the Lincolnshire cobrand.
* [Buckinghamshire] Use smaller template override for problem confirm messageDave Arter2018-08-17-44/+6
|
* Don’t show photo tips if cobrand doesn’t allow photo uploadDave Arter2018-08-14-0/+2
|
* [UK] New House Rule forbidding impersonationZarino Zappia2018-08-10-0/+4
|
* Fix inspector dragging of pins.Matthew Somerville2018-08-09-0/+1
|
* [Oxfordshire] Load UK projection JS library.Matthew Somerville2018-08-09-0/+1
|
* Merge remote-tracking branch 'origin/2012-new-report-near-here'Matthew Somerville2018-08-07-1/+15
|\
| * "Report a problem here" button in nav when viewing a locationZarino Zappia2018-08-07-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #2016. When you load a page that includes either a problem report, or is centered on a location, the "Report a problem" button in the nav bar (that normally takes you to the homepage) becomes a "Report a(nother) problem here" button, that leads directly to the new report form for the location in question. On full map pages (/around and any /report/<id> pages loaded via it) the reporting form will be rendered client-side, avoiding a full page reload. On pages lacking the full map (eg: missing fixmystreet.bbox_strategy), namely /reports/<area> and any /report/<id> page that hasn’t been client-side loaded via /around, we fall back to a server-side page load. Finally, as you’d expect, the text and URL for the button dynamically update as you move around the map, or switch between the different client-side states of the reporting flow. We also hide the button entirely when you’re reporting a problem, which was something suggested a long time ago.
* | "Report another problem here" button on confirmation pageZarino Zappia2018-08-07-0/+6
|/ | | | | | | Part of #2012. Should make it much quicker to report multiple problems in the same location, one after the other.
* Add missing ID to /alert postcode input.Matthew Somerville2018-08-07-1/+1
| | | | Fixes #2197.
* allow front end to not send to specific bodyStruan Donald2018-08-06-0/+1
| | | | | | | | add a do_not_send parameter to reports which allows the front end to specify a comma separated list of bodies that reports should not be sent to even if there is a valid contact match. This enables asset layers to override backend body processing, e.g. if a body only accepts reports that are on a road this allows the front end to specify that.
* show not on roads message on national siteStruan Donald2018-08-03-0/+11
| | | | currently will show even if it's only appropriate for one body
* [UK] Pull in cobrand asset files on national site.Struan Donald2018-08-03-2/+7
| | | | | | | Also add body name to layer defaults, so they are only used where appropriate. Switch mapit area javascript calls to GeoJSON, so we can drop KML support in OpenLayers.wfs.js which saves a small amount of bandwidth.
* Allow asset layer display to be body dependent.Struan Donald2018-08-03-0/+3
| | | | | | | | | | | Return a list of associated bodies on around/new pages and in category ajax calls, and use that when deciding whether to show/hide layers. If the layer has no body information, then we show it as before, maybe based on category selected; if it does, it is only shown if the layer body matches the bodies for the point. As part of this create a new VectorAsset class to handle all the visibility changes for asset layers as it makes it a bit tidier.
* Favour .form-hints over input placeholder attributesZarino Zappia2018-08-01-64/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #2180. Input placeholders are a generally problematic UI convention, and we’ve accidentally started using them in more and more parts of FMS over the last few years. In some cases, the placeholders simply repeated text from the input’s existing label element. In cases like those, the placeholder attribute could just be removed. In other cases, we broke the placeholder text out into a .form-hint element, between the input and its label, so that the text is easily accessible and falls into the top-to-bottom reading flow. Notable changes: * Form hint on main postcode search form, instead of placeholder. * Form hint on alert search form, instead of placeholder. * Form hints in reporting form (problem summary and description), instead of placeholders. * Removed placeholders from most login/password inputs. * The character limit for "Inspector" report updates is no longer displayed in the textarea placeholder. * Form hints now `#666` grey, and better spaced when immediately following a label element.
* [Buckinghamshire] remove contact formStruan Donald2018-07-24-4/+15
| | | | Removing this while we sort out the process.
* Revert "[BANES] Send email when Open311 update submitted."Matthew Somerville2018-07-19-4/+0
| | | | This reverts commit 6bc39892d7075fac79c0f40b2740de095535329d.
* Update Google Maps directions link.Matthew Somerville2018-07-19-1/+1
|
* Merge remote-tracking branch ↵Matthew Somerville2018-07-17-1/+1
|\ | | | | | | 'origin/issues/commercial/1087-dashboard-csv-download-teaser'
| * Make non-pro dashboard CSV download limit clearerZarino Zappia2018-07-12-1/+1
| | | | | | | | Fixes mysociety/fixmystreet-commercial#1087.
* | [BANES] Update tracking scriptsDave Arter2018-07-17-0/+3
|/ | | | Fixes mysociety/fixmystreet-commercial#1104
* Hide password help field along with other similar.Matthew Somerville2018-07-09-2/+2
| | | | Fixes #2185.
* Factor out empty list template.Matthew Somerville2018-07-04-1/+2
| | | | Make it customisable by cobrands.
* Only display reports from last 6 months on around.Struan Donald2018-07-03-1/+10
| | | | | | | Add a checkbox to show older reports, plus if we get to the end of the new reports then instead of a Next button show a "show older" button that will reload the current page but with older reports also loaded. Wire it all up into the pushState code as well.
* Show all fixed issues when staff uses map filter.Matthew Somerville2018-07-02-1/+8
|
* [Rutland] archive reports email templatesStruan Donald2018-06-27-0/+79
|
* [Bucks] add one issue per report text to tipsStruan Donald2018-06-27-0/+12
|
* [BANES] Update front page header to reflect expanded scopeDave Arter2018-06-26-1/+2
|
* [BANES] Relabel report rejection buttonDave Arter2018-06-26-3/+10
|
* [Buckinghamshire] Add Siteimprove script.Matthew Somerville2018-06-26-0/+10
|
* Enable editing of category group in adminDave Arter2018-06-26-0/+18
| | | | Fixes mysociety/fixmystreetforcouncils#275