berkmancenter/mediacloud-email-templates

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

MediaCloud Email Templates

A shared repository to hold templates for emailing users from the front- and back-end systems.

Guidelines
The Templates
Generic Templates

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:

Activity-Specific Templates

For 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.

Original

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:

  1. first edit that file until it looks good
  2. run it through MailChimp's handy inliner tool
  3. update the email.html template (making sure to keep the content blocks in place)
  4. check any styles on content_body in all the other templates to make sure they match your changes

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.