Skip to content

Commit

Permalink
fix: Removed inaccessible link & added user request info (#6821)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsaicharan1 authored Feb 8, 2020
1 parent c42e031 commit eb10779
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/api/helpers/mail.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,6 @@ def send_email_to_attendees(order, purchaser_id, attachments=None):
frontend_url=get_settings()['frontend_url'],
),
html=MAILS[TICKET_PURCHASED]['message'].format(
pdf_url=holder.pdf_url,
event_name=order.event.name,
frontend_url=get_settings()['frontend_url'],
),
Expand All @@ -351,7 +350,8 @@ def send_email_to_attendees(order, purchaser_id, attachments=None):
event_name=order.event.name, invoice_id=order.invoice_number
),
html=MAILS[TICKET_PURCHASED_ATTENDEE]['message'].format(
pdf_url=holder.pdf_url, event_name=order.event.name
my_tickets_url=get_settings()['frontend_url'] + '/my-tickets',
event_name=order.event.name,
),
attachments=attachments,
)
Expand Down
4 changes: 3 additions & 1 deletion app/api/helpers/system_mails.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,9 @@
'message': (
u"Hi, this is a confirmation mail of your tickets for the event {event_name}"
u"<br/>Your order has been processed successfully."
+ u"<br/> <a href='{pdf_url}'>Click here</a> to view/download your ticket."
+ u"<br/> Your tickets & invoice have been enclosed."
u"<br><br>You can also download your tickets in <b>My Tickets</b> section."
u"<br/>Login to manage the orders at <a href='{mytickets_url}' target='_blank'>{mytickets_url}</a> </em>"
u"<br><br><em>Looking forward to seeing you at the event."
),
},
Expand Down

0 comments on commit eb10779

Please sign in to comment.