use i18n in event confirmation email
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
extends ../layout.pug
|
||||
block content
|
||||
h3 #{event.title}
|
||||
p 📍 Dove: #{event.place.name} - #{event.place.address}
|
||||
p ⏰ Quando: #{datetime(event.start_datetime)}
|
||||
p 📍 #{event.place.name} - #{event.place.address}
|
||||
p ⏰ #{datetime(event.start_datetime)}
|
||||
br
|
||||
if event.media && event.media.length
|
||||
<center>
|
||||
@@ -17,6 +17,6 @@ block content
|
||||
<a href="#{config.baseurl}/event/#{event.slug || event.id}">#{config.baseurl}/event/#{event.slug || event.id}</a>
|
||||
hr
|
||||
if to_confirm
|
||||
p Puoi confermare questo evento premendo il tasto conferma a <a href="#{config.baseurl}/event/#{event.slug || event.id}">questa pagina</a>
|
||||
else
|
||||
p Puoi eliminare queste notifiche <a href="#{config.baseurl}/del_notification/#{notification.remove_code}">qui</a>
|
||||
p !{t('event_confirm.content', {config, url: `${config.baseurl}/event/${event.slug || event.id}`})}
|
||||
//- else
|
||||
//- p Puoi eliminare queste notifiche <a href="#{config.baseurl}/del_notification/#{notification.remove_code}">qui</a>
|
||||
|
||||
Reference in New Issue
Block a user