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

19 lines
681 B
Plaintext
Raw Normal View History

2019-03-10 01:01:23 +01:00
h3 #{event.title}
p Dove: #{event.place.name} - #{event.place.address}
p Quando: #{datetime(event.start_datetime)}
br
2019-03-20 01:52:48 +01:00
if event.image_path
<img style="width: 100%" src="#{config.apiurl}/uploads/#{event.image_path}" />
2019-03-10 01:01:23 +01:00
p #{event.description}
2019-03-20 01:52:48 +01:00
each tag in event.tags
span ##{tag.tag}
br
2019-03-10 01:01:23 +01:00
<a href="#{config.baseurl}/event/#{event.id}">#{config.baseurl}/event/#{event.id}</a>
hr
2019-03-11 00:20:37 +01:00
if to_confirm
2019-03-20 01:52:48 +01:00
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-03-11 00:20:37 +01:00
<a href="#{config.baseurl}">#{config.title} - #{config.description}</a>