jam-cloud/ruby/lib/jam_ruby/app/views/layouts
Anthony Davis f85f303da8 VRFS-1331 - JamKazam instead of Jamkazam 2014-04-20 16:43:58 -05:00
..
README.md VRFS-1331 - JamKazam instead of Jamkazam 2014-04-20 16:43:58 -05:00
from_user_mailer.html.erb * VRFS-1380 - lighter links in emails 2014-03-11 02:27:52 +00:00
from_user_mailer.text.erb * clean up lowercase k's in emails: VRFS-732 2014-03-04 01:09:13 -06:00
user_mailer.html.erb VRFS-736 added liked us tracking to email footer icons for twitter/fb/goog 2014-04-07 07:54:17 +00:00
user_mailer.text.erb VRFS-1483 integrating opt-out; fixing tests 2014-04-01 14:42:26 +00:00

README.md

Understanding JamKazam Email Layouts

We have two types of layouts;

  • a 'standard' email layout which is an email to a user (user_mailer.html.erb/text)
  • a 'from a user to another user' email layout (from_user_mailer.html.erb/text)

user_mailer.html.erb

To use the user_mailer.html.erb layout, you must provide a title section, as well as the body. Look at 'password_changed.html.erb' for an example.

from_user_mailer.html.erb

To use the from_user_mailer.html.erb layout, you must provide a title section, photo_url section (photo of the person who sent the email), and a note section (any personalized note that the sender may have said, or boilerplate) Look at 'friend_invitation.html.erb' for an example.