aboutsummaryrefslogtreecommitdiffstats
path: root/templates/email/fixmystreet.com/submit.html
Commit message (Collapse)AuthorAgeLines
* Include extra fields in submit emails.M Somerville2020-10-12-3/+8
|
* [Highways England] Extra info in submit emails.Matthew Somerville2020-03-31-0/+12
|
* Switch to default-escaped in email templates.Matthew Somerville2019-12-09-3/+3
| | | | | We add a way to process a template with no auto-escaping, that can be used for the text parts of emails, and mark various HTML output as safe.
* Use `report` more in email templates.Matthew Somerville2018-02-27-12/+10
|
* [fixmystreet.com] Prominent FMS Pro promo in email to councilZarino Zappia2017-12-01-3/+3
| | | | Fixes mysociety/fixmystreet-commercial#925.
* Adapt things that assume email will be present.Matthew Somerville2017-09-30-1/+7
| | | | | | This includes stopping some emails being sent (moderation, alert, questionnaire), dealing with Open311/email report sending, and tokenised_url.
* Factor out HTML email sidebar to own template.Matthew Somerville2016-08-08-8/+2
|
* Try and ensure emails have no lines of spaces.Matthew Somerville2016-08-08-8/+8
| | | | | One mail server we send to appears to reject messages containing =20, even though those are perfectly acceptable quoted-printable messages.
* Add HTML email templates.Matthew Somerville2016-08-01-0/+69
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.