start on news mailer
This commit is contained in:
@ -2,7 +2,6 @@
|
||||
%html
|
||||
%head
|
||||
%meta{:content => "text/html; charset=utf-8", "http-equiv" => "Content-Type"}/
|
||||
:css
|
||||
/* Email styles need to be inline */
|
||||
%body
|
||||
= stylesheet_link_tag "tailwind"
|
||||
%body.wide
|
||||
= yield
|
||||
|
2
app/views/news_mailer/letter.html.haml
Normal file
2
app/views/news_mailer/letter.html.haml
Normal file
@ -0,0 +1,2 @@
|
||||
- @page.sections.each do |section|
|
||||
= render_section( section )
|
0
app/views/news_mailer/letter.text.haml
Normal file
0
app/views/news_mailer/letter.text.haml
Normal file
4
app/views/news_mailer/subscribed.html.haml
Normal file
4
app/views/news_mailer/subscribed.html.haml
Normal file
@ -0,0 +1,4 @@
|
||||
%h1= class_name + "#" + @action
|
||||
|
||||
%p
|
||||
= @greeting + ", find me in app/views/news_mailer/subscribed.html.haml"
|
3
app/views/news_mailer/subscribed.text.haml
Normal file
3
app/views/news_mailer/subscribed.text.haml
Normal file
@ -0,0 +1,3 @@
|
||||
News#subscribed
|
||||
|
||||
= @greeting + ", find me in app/views/news_mailer/subscribed.text.haml"
|
4
app/views/news_mailer/unsubscribed.html.haml
Normal file
4
app/views/news_mailer/unsubscribed.html.haml
Normal file
@ -0,0 +1,4 @@
|
||||
%h1= class_name + "#" + @action
|
||||
|
||||
%p
|
||||
= @greeting + ", find me in app/views/news_mailer/unsubscribed.html.haml"
|
3
app/views/news_mailer/unsubscribed.text.haml
Normal file
3
app/views/news_mailer/unsubscribed.text.haml
Normal file
@ -0,0 +1,3 @@
|
||||
News#unsubscribed
|
||||
|
||||
= @greeting + ", find me in app/views/news_mailer/unsubscribed.text.haml"
|
Reference in New Issue
Block a user