<% if (event.ticketApproval) { %>
BOOKING REQUEST SENT
You will receive a confirmation email once the organizer approves your request.
<% } else { %>
YOUR BOOKING IS CONFIRMED!
<% } %>

<%= event.name %>
EVENT HOSTED BY <%= dojo.name %> [<%= process.env.URL_BASE %>/dojos/<%= dojo.id %>]

EVENT DETAILS
<%= eventDate %> | <%= eventTime %>

<%= event.address %>

<% if (event.position) { %>
Open in Google Maps [https://www.google.com/maps/search/?api=1&query=<%= event.position.lat %>,<%= event.position.lng %>]
<% } else { %>
Open in Google Maps [https://www.google.com/maps/search/?api=1&query=<%= encodeURIComponent(event.address) %>]
<% } %>

ATTENDEES
<% for (let i = 0; i < applications.length; i += 1) { %>
<%= applications[i].name %>
<%= applications[i].ticketType %> / <%= applications[i].ticketName %>
<% } %>

If you are unable to attend this event, please cancel your booking
[<%= process.env.URL_BASE %>/dashboard/tickets].

QUESTIONS?
If you have any questions about the event, please contact the Dojo at <%= dojo.email %>

Please do not reply to this email. This is an auto-generated email.

--------------------------------------------------------------------------------

coderdojo.com

QUESTIONS?
If you have any questions about this email, you can ask us about it at
info@coderdojo.com or see our help content here [https://help.coderdojo.com/cdkb/s/].
