aboutsummaryrefslogtreecommitdiffstats
path: root/templates/email/default
Commit message (Collapse)AuthorAgeLines
* Add default settings for email submit template footerStruan Donald2019-04-02-0/+4
|
* allow customisation of email header image fileStruan Donald2019-04-02-2/+1
| | | | | Add a setting for the name of the image file used in the email header so cobrands can override it
* [UK] Fix two-tier message in confirm sent email.Matthew Somerville2019-03-27-4/+4
|
* enable custom email header logo fileStruan Donald2019-03-25-2/+4
| | | | | allows adding a logo_file setting in _color_overrides.html to change the name of the file used. Defaults to email-logo.gif
* Have separate alert-update council ref template.Matthew Somerville2019-01-14-1/+4
| | | | | | | 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-4/+7
| | | | | | 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.
* 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.
* HTML template for the "partial" report confirmation emailZarino Zappia2018-10-01-0/+22
| | | | Fixes #2263.
* 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
|
* Revert "[BANES] Send email when Open311 update submitted."Matthew Somerville2018-07-19-4/+0
| | | | This reverts commit 6bc39892d7075fac79c0f40b2740de095535329d.
* Make sure site_name/signature consistent in emailsMatthew Somerville2018-06-04-18/+18
|
* 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
|
* [BANES] Send email when Open311 update submitted.Matthew Somerville2018-04-10-0/+4
|
* [Buckinghamshire] Include Confirm ID in report confirmation emailsDave Arter2018-04-03-1/+4
|
* 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).
* Edge-to-edge email content on narrow screensZarino Zappia2018-03-01-22/+32
| | | | | | | | | | | | | | | | | | | | 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-25/+25
|
* Prefill first question from questionnaire email.Matthew Somerville2018-02-16-3/+3
|
* Add Don’t know button to questionnaire email.Matthew Somerville2018-02-16-0/+6
|
* Adapt things that assume email will be present.Matthew Somerville2017-09-30-3/+11
| | | | | | This includes stopping some emails being sent (moderation, alert, questionnaire), dealing with Open311/email report sending, and tokenised_url.
* allow extra details in problem-confirm emailsStruan Donald2017-09-11-0/+3
|
* [fixmystreet.com] Update FixMyStreet Pro links.Matthew Somerville2017-09-05-1/+1
|
* Make map image in HTML emails clickableZarino Zappia2017-08-03-5/+18
| | | | | | | | 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!
* Add update URL model method.Matthew Somerville2017-05-31-2/+2
|
* [fixmystreet.com] Avoid /about/council redirects.Zarino Zappia2017-03-03-1/+1
|
* Include any paragraphs in HTML contact submission.Matthew Somerville2016-09-13-1/+1
|
* Feature to create report as body/other user.Zarino Zappia2016-08-10-0/+99
| | | | | | | | | | | | This allows users who have the correct permissions to add reports on behalf of the body or another user. We enable editing of the email box by default, so that if JavaScript isn't available, someone can still change the email for the 'another user' option. For mysociety/fixmystreetforcouncils#10 and mysociety/fixmystreetforcouncils#11
* Factor out HTML email sidebar to own template.Matthew Somerville2016-08-08-56/+26
|
* Try and ensure emails have no lines of spaces.Matthew Somerville2016-08-08-35/+35
| | | | | One mail server we send to appears to reject messages containing =20, even though those are perfectly acceptable quoted-printable messages.
* Move host/IP to footer in HTML contact email.Matthew Somerville2016-08-08-8/+1
|
* Avoid illegible email repliesZarino Zappia2016-08-08-2/+2
| | | | | | | | | HTML emails now have a white body background-color, so that replies sent from Outlook (which inserts the reply message inside the body of the original message) will have a white background. Part of #1469.
* Add HTML email templates.Matthew Somerville2016-08-01-40/+748
| | | | | | | | | | | | | | | | | | | | | | | | Design is all Zarino. This adds the ability to send HTML emails, including attached inline images. When included, this is done as a multipart/related email containing a multipart/alternative (of plain and HTML) and any attached images, so that the images are available even if HTML mail is not. The alert emails list data has been improved so it can be constructed in the templates rather than the code. Various templates have been tidied. Various workarounds for email clients have been made, including: * <th> is used so that the Android 4.x mail client can give them `block` styling in the small screen media query. * Font settings defined on every table cell (<th>) so that sans-serif fonts are used in Outlook, rather than Times New Roman. * A three-column wrapper table to create a 620px centred content area that also shrinks down on narrow screens. (Outlook doesn’t like max-width, so this is the simplest alternative.) * Enforcing a sensible (500px) min-width for the main content area, on clients that don’t support media queries (eg: native Gmail app). * Giant borders on buttons so Outlook displays them * Image alignment with align rather than float.
* Clarify wording of two-tier confirmation emailDave Arter2016-07-08-1/+2
|
* Add two-tier responsibility note to confirm emailDave Arter2016-07-08-1/+3
|
* Tidy up some UK specific easting/northing handlingMatthew Somerville2016-06-22-1/+1
|
* Allow users to update their email address.Matthew Somerville2016-06-20-0/+11
|
* Use only one templating system for emails.Matthew Somerville2016-05-25-82/+82
| | | | | | | Historically, emails sent offline (alerts, questionnaires, etc) used a different templating system from those sent by the website (e.g. login emails), though the newer system was also being used for the site name and signature of offline emails.
* Add OpenStreetMap URL to report email.Matthew Somerville2016-02-09-0/+2
|
* Fix handling From/To header in new Email::Simple.Matthew Somerville2015-10-06-1/+0
| | | | | | | Newer versions of Email::Simple (2.104+) treat arrayrefs in headers by fetching the first item only in scalar context. Our snapshot installs 2.102, so this shouldn't be an issue, but we might as well bypass Email::Simple for those headers.
* Send altered confirmation email if not being sent.Matthew Somerville2015-09-28-0/+32
| | | | Fixes #1210.
* Tweak wording of area local alert email.Matthew Somerville2015-02-25-2/+2
| | | | Fixes #1011.
* Switch easting/northing output to one line.Matthew Somerville2015-02-16-3/+1
| | | | | This is more friendly for e.g. copy and pasting by someone using the Dynamics CRM software. Fixes #997.
* Use site_name to genericise default submit.txt.Matthew Somerville2015-01-19-54/+4
|
* Update links to point to new /council page.Matthew Somerville2014-10-09-3/+3
|
* Report moderationHakim Cassimally2014-08-13-0/+38
| | | | | | | | | | | - redaction marked with [...] - of report and comments - stores original data - uses a single form, on the report/_main view - requires additional permissions (user_body_permissions) - Hide report functionality - Moderation notification/contact form - Moderation writes to admin_log
* Make external links HTTPS where possible.Matthew Somerville2014-07-03-3/+3
| | | | And fix a couple that have redirected.
* Use https for UK site where appropriateStruan Donald2014-07-03-3/+3
| | | | | | | Council redirects, BASE_URL comparisons, hard coded links, email signatures For #488
* Update all email templates with new text.Myfanwy Nixon2014-05-16-84/+215
| | | | And FixMyStreet.com specific open questionnaire page.