pm2 / cron worker to send reminder
This commit is contained in:
10
app/emails/event/html.pug
Normal file
10
app/emails/event/html.pug
Normal file
@@ -0,0 +1,10 @@
|
||||
h3 #{event.title}
|
||||
p Dove: #{event.place.name} - #{event.place.address}
|
||||
p Quando: #{datetime(event.start_datetime)}
|
||||
br
|
||||
<img style="width: 100%" src="#{config.apiurl}/#{event.image_path}" />
|
||||
p #{event.description}
|
||||
|
||||
<a href="#{config.baseurl}/event/#{event.id}">#{config.baseurl}/event/#{event.id}</a>
|
||||
hr
|
||||
<a href="#{config.baseurl}">#{config.title} - #{config.description}</a>
|
||||
1
app/emails/event/subject.pug
Normal file
1
app/emails/event/subject.pug
Normal file
@@ -0,0 +1 @@
|
||||
= `[${config.title}] ${event.title} @${event.place.name} ${datetime(event.start_datetime)}`
|
||||
8
app/emails/mail.css
Normal file
8
app/emails/mail.css
Normal file
@@ -0,0 +1,8 @@
|
||||
table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
table, th, td {
|
||||
border: 1px solid #555;
|
||||
}
|
||||
6
app/emails/register/html.pug
Normal file
6
app/emails/register/html.pug
Normal file
@@ -0,0 +1,6 @@
|
||||
h4 Gancio
|
||||
|
||||
p= t('registration_email')
|
||||
|
||||
small --
|
||||
small https://cisti.org
|
||||
1
app/emails/register/subject.pug
Normal file
1
app/emails/register/subject.pug
Normal file
@@ -0,0 +1 @@
|
||||
= `[Gancio] Richiesta registrazione`
|
||||
Reference in New Issue
Block a user