Name: mediacloud-email-templates
Owner: Berkman Klein Center for Internet & Society
Description: Templates for emails that Media Cloud sends.
Created: 2017-03-24 09:40:15.0
Updated: 2017-03-24 10:06:33.0
Pushed: 2017-06-06 01:42:56.0
Homepage: null
Size: 17
Language: HTML
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A shared repository to hold templates for emailing users from the front- and back-end systems.
.html
and .txt
versions (use the same name, but different extension for each).<p style="text-align: left;line-height: 30px;color: #373737;">
.Look at generic.html
and generic.txt
for the most generic version of these templates. You'll see that
you need to specify content for 4 content blocks:
content_title
: a short title presented in big text at the start of the email by our logocontent_body
: the body of the email, probably including multiple <p>
tags and detailsaction_text
: the text for the button that ends the email and is the primary call to actionaction_url
: the url for the button that ends the email and is the primary call to actionFor specific emails, name them clearly and just add them to this folder. For instance, an email with
password reset information could be called password_reset.html
and password_reset.txt
. Define
your own set of variables for these as needed, but be sure to specify the four content blocks defined
above.
The original HTML version is in originals
. This is useful in case we want to tweak the CSS used. If
you do need to do that then:
email.html
template (making sure to keep the content blocks in place)content_body
in all the other templates to make sure they match your changes