aboutsummaryrefslogtreecommitdiffstats
path: root/templates/email
Commit message (Collapse)AuthorAgeLines
* Store all moderation change history in database.Matthew Somerville2018-11-26-4/+4
| | | | | Currently keeping the same front end functionality of only reverting to the original.
* [BANES] Branding for HTML emailsZarino Zappia2018-10-08-0/+124
|
* HTML template for the "partial" report confirmation emailZarino Zappia2018-10-01-0/+22
| | | | Fixes #2263.
* [Lincolnshire] Remove UA string from contact emailsDave Arter2018-09-24-0/+49
| | | | For mysociety/fixmystreet-freshdesk#16.
* Use site name in contact email subject line.Matthew Somerville2018-08-28-1/+1
|
* Include user agent in contact form emails.Matthew Somerville2018-08-21-1/+8
|
* [Lincolnshire] Send ‘report logged’ emails; don’t show FMS ID on ↵Dave Arter2018-08-17-0/+8
| | | | confirmation page
* Revert "[BANES] Send email when Open311 update submitted."Matthew Somerville2018-07-19-4/+0
| | | | This reverts commit 6bc39892d7075fac79c0f40b2740de095535329d.
* [Rutland] archive reports email templatesStruan Donald2018-06-27-0/+79
|
* Make sure site_name/signature consistent in emailsMatthew Somerville2018-06-04-34/+34
|
* [Bromley] Data sharing message in confirm email.Matthew Somerville2018-06-04-0/+10
|
* Script to email/anonymize inactive users.Matthew Somerville2018-05-23-0/+44
|
* Stop double-escaping title in alert-update email.Matthew Somerville2018-05-11-1/+1
|
* [Buckinghamshire] Display problem category in lists & email subjectDave Arter2018-04-27-0/+29
| | | | Fixes mysociety/FixMyStreet-Commercial#1024.
* [BANES] Update archive email template wordingDave Arter2018-04-10-6/+8
|
* [BANES] Add archive email templateDave Arter2018-04-10-0/+81
|
* [BANES/Buckinghamshire] Share ‘report sent’ emails between cobrandsDave Arter2018-04-10-198/+15
|
* [BANES] Send email when Open311 update submitted.Matthew Somerville2018-04-10-0/+4
|
* [BANES] Send confirmation email for all reports upon sending to CouncilDave Arter2018-04-10-0/+64
|
* [BANES] Include report ID in ‘report created’ emails.Dave Arter2018-04-10-0/+111
| | | | For mysociety/fixmystreetforcouncils#285
* [BANES] Add Email::BathNES send method with custom template for street light ↵Dave Arter2018-04-10-0/+123
| | | | reports
* [Buckinghamshire] Include report reference number on update alert emailsDave Arter2018-04-05-2/+7
|
* [UK] Promote council-exclusive summary dashboardZarino Zappia2018-04-05-4/+5
| | | | Fixes mysociety/fixmystreet-commercial#1016
* [Buckinghamshire] Use problem category for alert email subject, not titleDave Arter2018-04-03-0/+54
|
* [Buckinghamshire] Include Confirm ID in report confirmation emailsDave Arter2018-04-03-1/+132
|
* Fix Mac / iOS mail full-width email layout bugZarino Zappia2018-03-27-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dcc5926 simplified the HTML email layout and styling, but introduced a bug in Mac and iOS Mail (both of which use Safari to render emails) where the central "column" of the layout would expand beyond its 620px maximum width if your window/screen was big enough to let it. As far as I can tell, this is a bug in Safari – it treats empty table cells as if they aren’t there, meaning, in our layout, they no longer "pushed" against the sides of the central column, allowing it to expand to the full width of the parent (the window). Adding a non-transparent background-color to the cells forces Safari to handle them correctly, so we set a background-color that matches the body background, to effectively make the cells invisible, while still giving them enough "layout" to trick Safari into rendering them. A fun quirk here is that, with the background-color hack in place, Safari will no longer allow the cells to occupy zero width. Even when the screen is the same width as (or narrower than!) our central column, Safari ensures that the spacer cells maintain at least a 1px width, resulting in a 1px dark grey "border" down the sides of the email. Seems Safari won’t let you have it both ways – either the cells are there or they aren’t ;-) To avoid this "border", we only apply the background-color when we know the window is wider than 620px. That way, the spacer cells will collapse to zero width on narrow screens (because of the Safari bug) and will expand to occupy the space you’d expect on wider screens (because of our background-color hack). Fixes #1928 (again).
* [Rutland] cobrand files for RutlandStruan Donald2018-03-15-0/+21
| | | | | Web and email template changes, CSS plus cobrand file with open311 config
* [Warwickshire] Add archive script data.Matthew Somerville2018-03-14-0/+26
| | | | Add an update with each report closure.
* Edge-to-edge email content on narrow screensZarino Zappia2018-03-01-31/+45
| | | | | | | | | | | | | | | | | | | | The 5px cellpadding on the wrapper table was resulting in 15px of white space either side of emails when viewed on narrow screens. Which, on a window that could be as narrow as 320px, is a lot of wasted space! We only wanted the 15px of horizontal padding to be removed from the sides of the "main" content, leaving the top and bottom "hints" with some padding so that their text doesn’t crash up against the edge of the window on narrow screens. The easiest way to achieve this was to split the top and bottom "hints" out into their own slightly wider tables, with built-in cell padding. To make things simpler, the min- and max-widths are now stored in variables, and the changes also meant we could simplify the media queries controlling mobile breakpoints in modern email clients. Fixes #1928.
* Use `report` more in email templates.Matthew Somerville2018-02-27-94/+98
|
* Prefill first question from questionnaire email.Matthew Somerville2018-02-16-6/+6
|
* Add Don’t know button to questionnaire email.Matthew Somerville2018-02-16-0/+9
|
* Hide 'updates not sent' message on reports sent via Open311Dave Arter2018-01-23-1/+1
| | | | | | | | | | | | | | | The 'updates are not sent to the council' message was incorrectly being shown on reports where updates would in fact be sent. This was affecting non-Bromley/Stevenage reports on fms.com and all cobrands using Open311. This commit moves the logic out of the template and adds the Problem->updates_sent_to_body method which inspects the receiving body's Open311 configuration to determine whether updates will be sent. The duplication of the Lewisham/Oxfordshire logic between Problem.pm and send-comments isn't ideal but hopefully there won't be any new Open311 bodies that only send and don't receive updates. If there are we'll have to look at refactoring that list.
* [Zurich] Update report confirmation email.Matthew Somerville2018-01-16-0/+2
|
* [fixmystreet.com] Prominent FMS Pro promo in email to councilZarino Zappia2017-12-01-20/+74
| | | | Fixes mysociety/fixmystreet-commercial#925.
* [Oxfordshire] Clearly mark RDI emails if sent from stagingDave Arter2017-11-08-2/+5
| | | | Fixes mysociety/fixmystreetforcouncils#251
* [FixaMinGata] Fix broken submit email template.Matthew Somerville2017-10-10-1/+0
| | | | An unneeded "END" was introduced in c7d98f98, sorry.
* Adapt things that assume email will be present.Matthew Somerville2017-09-30-13/+41
| | | | | | This includes stopping some emails being sent (moderation, alert, questionnaire), dealing with Open311/email report sending, and tokenised_url.
* [SeeSomething] Remove emails left behind.Matthew Somerville2017-09-30-37/+0
|
* [Oxfordshire] include response times in problem confirm emailsStruan Donald2017-09-11-0/+26
|
* allow extra details in problem-confirm emailsStruan Donald2017-09-11-0/+3
|
* [fixmystreet.com] Update FixMyStreet Pro links.Matthew Somerville2017-09-05-3/+3
|
* Make map image in HTML emails clickableZarino Zappia2017-08-03-8/+21
| | | | | | | | Emails that contain a report’s title, description, and location in the ”sidebar” will now have a map that takes you to the report’s web page when clicked. Fixes #1596. Thanks to @MyfanwyNixon for the suggestion!
* [Oxfordshire] Clarify wording on report archiving emailDave Arter2017-07-17-5/+5
|
* [FixaMinGata] Consolidate with upstream.Jon Kristensen2017-07-07-9/+687
| | | | | Add hook for post-title field content in report form. Update translations.
* [UK] Remove requirement for fixed body IDs.Matthew Somerville2017-06-20-1/+1
| | | | | | | | | | | | Historically in UK cobrands, bodies have had IDs the same as the MapIt area ID they cover. This can be confusing (if you are setting up a dev environment, say) and should not be necessary. This commit removes the requirement entirely, by switching any ID checks to either the name of the body, or the actual area it covers. One note: the body name in the test has to match so that we do not get two bodies both covering 2237 created. This will not be necessary when the tests are compartmentalized in the next commit.
* Add update URL model method.Matthew Somerville2017-05-31-2/+2
|
* [Oxfordshire] Send RDI reports by email.Matthew Somerville2017-05-16-0/+8
|
* [fixmystreet.com] Avoid /about/council redirects.Zarino Zappia2017-03-03-3/+3
|
* [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