Files
gancio/server/emails/event/html.pug

21 lines
715 B
Plaintext
Raw Normal View History

2019-05-30 12:12:51 +02:00
h3 #{event.title}
p Dove: #{event.place.name} - #{event.place.address}
p Quando: #{datetime(event.start_datetime)}
br
if event.image_path
2019-06-11 23:53:16 +02:00
<img style="width: 100%; max-height: 89vh; margin: 0 auto;" src="#{config.apiurl}/media/#{event.image_path}" />
2019-05-30 12:12:51 +02:00
p #{event.description}
each tag in event.tags
span ##{tag.tag}
br
<a href="#{config.baseurl}/event/#{event.id}">#{config.baseurl}/event/#{event.id}</a>
hr
if to_confirm
p Puoi confermare questo evento <a href="#{config.baseurl}/admin/confirm/#{event.id}">qui</a>
else
p Puoi eliminare queste notifiche <a href="#{config.baseurl}/del_notification/#{notification.remove_code}">qui</a>
2019-06-11 23:53:16 +02:00
hr
a(href="#{config.baseurl}") #{config.title} - #{config.description}