gancio-upstream/server/emails/event/html.pug

22 lines
790 B
Text
Raw Normal View History

extends ../layout.pug
block content
h3 #{event.title}
2019-10-02 21:05:15 +02:00
p 📍 Dove: #{event.place.name} - #{event.place.address}
p ⏰ Quando: #{datetime(event.start_datetime)}
br
if event.media
<center>
<img style="height: 89vh; margin: 0 auto;" alt="#{event.media[0].name}" src="#{config.baseurl}/media/#{event.media[0].url}" />
</center>
p !{event.description}
2019-05-30 12:12:51 +02:00
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
2019-10-02 21:05:15 +02:00
p Puoi confermare questo evento premendo il tasto conferma a <a href="#{config.baseurl}/event/#{event.id}">questa pagina</a>
else
p Puoi eliminare queste notifiche <a href="#{config.baseurl}/del_notification/#{notification.remove_code}">qui</a>