Using proper mailing for the future
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 154 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 185 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 292 KiB |
@@ -74,3 +74,8 @@ body
|
||||
|
||||
.text-success
|
||||
color: $brand-success
|
||||
|
||||
.portrait
|
||||
display: block
|
||||
float: left
|
||||
margin: 12px
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
class SupporterMailer < ApplicationMailer
|
||||
include Roadie::Rails::Automatic
|
||||
|
||||
def welcome_email(supporter)
|
||||
@supporter = supporter
|
||||
mail(to: @supporter.email, subject: I18n.t('welcome_email.subject'))
|
||||
|
||||
@@ -2,5 +2,6 @@ doctype html
|
||||
html
|
||||
head
|
||||
meta content=("text/html; charset=UTF-8") http-equiv="Content-Type" /
|
||||
= stylesheet_link_tag 'application', media: 'all'
|
||||
body style='padding: 20px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px;'
|
||||
= yield
|
||||
|
||||
@@ -1,22 +1,34 @@
|
||||
p
|
||||
strong Hallo #{@supporter.first_name},
|
||||
|
||||
p Du bist nun ein Teil der Bewegung!
|
||||
p Hallo #{@supporter.first_name}, du bist nun ein Teil der Bewegung!
|
||||
|
||||
p Wir informieren dich per E-Mail über die nächsten Schritte und kommen aktiv auf dich zu. Auf <a href="https://www.hanflegal.ch/initiative">https://www.hanflegal.ch/initiative</a> informieren wir über laufende Aktivitäten.
|
||||
|
||||
p
|
||||
b Was kannst du machen?
|
||||
|
||||
p
|
||||
| Was kannst du machen?
|
||||
ul
|
||||
li Versende den Link <a href="https://ch420.herokuapp.com">https://ch420.herokuapp.com</a> an all deine Freunde und Bekannte
|
||||
li Versende den Link <a href="https://hanflegal.ch/ch420">https://hanflegal.ch/ch420</a> an all deine Freunde und Bekannte
|
||||
li Folge uns auf <a href="https://www.facebook.com/vereinlegalizeit">Facebook</a> und <a href="https://twitter.com/VereinLegalize">Twitter</a>
|
||||
li Teile unser Projekt in den sozialen Medien mit dem Hashtag #CH420
|
||||
li Erzähle allen von unserem Vorhaben und bitte Sie mitzumachen
|
||||
li Werde Mitglied beim <a href="https://www.hanflegal.ch">Verein Legalize it!</a>
|
||||
li Besuche unser <a href="https://forum.hanflegal.ch">Forum</a>. Da findest du eine Jobbörse und spannende Projekte bei denen wir deine Hilfe brauchen können
|
||||
|
||||
p
|
||||
| Hanfige Grüsse,
|
||||
em die Initianten
|
||||
p
|
||||
.portrait
|
||||
= image_tag 'nino.png', class: 'img-rounded', width: 150
|
||||
br
|
||||
strong Nino Forrer
|
||||
br
|
||||
a href="mailto: nino@hanflegal.ch" nino@hanflegal.ch
|
||||
br
|
||||
em Strategie / Presse
|
||||
|
||||
.portrait
|
||||
= image_tag 'markus.png', class: 'img-rounded', width: 150
|
||||
br
|
||||
strong Markus Graf
|
||||
br
|
||||
a href="mailto: markus@hanflegal.ch" markus@hanflegal.ch
|
||||
br
|
||||
em Inhalt / Technik
|
||||
@@ -0,0 +1,36 @@
|
||||
p Salut #{@supporter.first_name}, Tu fais maintenant partie du mouvement!
|
||||
|
||||
|
||||
|
||||
p Nous allons t’envoyer par e-mail les informations sur les prochaines étapes. Sur <a href="https://www.hanflegal.ch/initiative">https://www.hanflegal.ch/initiative</a> initiative nous informons des activités en cours.
|
||||
|
||||
p
|
||||
| Que peux-tu faire?
|
||||
ul
|
||||
li Envoie le <a href="mailto:?subject=Oui, je veux légaliser le cannabis en Suisse.&body=Envoie un signe et montre que tu nous soutiens sur https://ch420.herokuapp.com. Unterstütze uns auch du.">lien pour le formulaire en ligne</a> à tous tes amis et connaissances
|
||||
li Suis-nous sur <a href="https://www.facebook.com/vereinlegalizeit">Facebook</a> et <a href="https://twitter.com/VereinLegalize">Twitter</a>
|
||||
li Partage notre projet sur les réseaux sociaux avec le hashtag #CH420
|
||||
li Raconte à tout le monde ce que nous avons prévu et demande leurs de participer
|
||||
li Deviens un <a href="https://www.hanflegal.ch">membre de l’association Legalize it!</a>
|
||||
|
||||
p
|
||||
| Hanfige Grüsse,
|
||||
em die Initianten
|
||||
p
|
||||
.portrait
|
||||
= image_tag 'nino.png', class: 'img-rounded', width: 150
|
||||
br
|
||||
strong Nino Forrer
|
||||
br
|
||||
a href="mailto: nino@hanflegal.ch" nino@hanflegal.ch
|
||||
br
|
||||
em Strategie / Presse
|
||||
|
||||
.portrait
|
||||
= image_tag 'markus.png', class: 'img-rounded', width: 150
|
||||
br
|
||||
strong Markus Graf
|
||||
br
|
||||
a href="mailto: markus@hanflegal.ch" markus@hanflegal.ch
|
||||
br
|
||||
em Inhalt / Technik
|
||||
@@ -1,21 +1,34 @@
|
||||
p
|
||||
strong Ciao #{@supporter.first_name},
|
||||
|
||||
p Ora sei una parte del movimento!
|
||||
p Ciao #{@supporter.first_name}, ora sei una parte del movimento!
|
||||
|
||||
p Vi informeremo via e-mail circa i prossimi passi e diventare attivo. Su <a href="https://www.hanflegal.ch/initiative">https://www.hanflegal.ch/initiative</a> può informarsi sulle attività in corso.
|
||||
|
||||
p
|
||||
b Che cosa puoi fare?
|
||||
p
|
||||
| Che cosa puoi fare?
|
||||
ul
|
||||
li Invia il <a href="https://ch420.herokuapp.com">https://ch420.herokuapp.com</a> a tutti i tuoi amici e conoscenti
|
||||
li Invia il <a href="https://hanflegal.ch/ch420">https://hanflegal.ch/ch420</a> a tutti i tuoi amici e conoscenti
|
||||
li Seguici su <a href="https://www.facebook.com/vereinlegalizeit">Facebook</a> e <a href="https://twitter.com/VereinLegalize">Twitter</a>
|
||||
li Racconta die nostri progetti sui social media con l’Hashtag #CH420
|
||||
li Di a tutti di unirsi ai nostri progetti
|
||||
li Diventa un membro dell’ <a href="https://www.hanflegal.ch">associazione Verein Legalize it!</a>
|
||||
li Visita il nostro <a href="https://forum.hanflegal.ch">Forum</a>. Puoi trovare scambi di lavoro e progetti interessanti in cui potrebbe esser richiesto il tuo aiuto.
|
||||
|
||||
p
|
||||
| Saluti,
|
||||
em hanflegal.ch
|
||||
|
||||
.portrait
|
||||
= image_tag 'nino.png', class: 'img-rounded', width: 150
|
||||
br
|
||||
strong Nino Forrer
|
||||
br
|
||||
a href="mailto: nino@hanflegal.ch" nino@hanflegal.ch
|
||||
br
|
||||
em Strategie / Presse
|
||||
|
||||
.portrait
|
||||
= image_tag 'markus.png', class: 'img-rounded', width: 150
|
||||
br
|
||||
strong Markus Graf
|
||||
br
|
||||
a href="mailto: markus@hanflegal.ch" markus@hanflegal.ch
|
||||
br
|
||||
em Inhalt / Technik
|
||||
Reference in New Issue
Block a user