[feat] Modify alt text for logo; Support user-defined color for header and footer

This commit is contained in:
Jimmy 2021-03-11 21:10:26 -08:00
parent 899d4c91f6
commit ee7c906f17
6 changed files with 55 additions and 41 deletions

View file

@ -1,12 +1,14 @@
<%= render partial: "layouts/mailbot_header" %>
<span style="white-space: pre-line">
Dear <%= @user.name %>,
<div id="content">
<span style="white-space: pre-line">
Dear <%= @user.name %>,
Thanks! You have successfully booked <%= @ticket_purchase.quantity %> <%= @ticket_purchase.ticket.title %> ticket(s) for the event <%= @conference.title %>. Your transaction id is <%= @ticket_purchase.id %>.
Please, find the ticket(s) pdf attached.
Best wishes,
<%= @conference.title %> Team
</span>
Thanks! You have successfully booked <%= @ticket_purchase.quantity %> <%= @ticket_purchase.ticket.title %> ticket(s) for the event <%= @conference.title %>. Your transaction id is <%= @ticket_purchase.id %>.
Please, find the ticket(s) pdf attached.
Best wishes,
<%= @conference.title %> Team
</span>
</div>
<%= render partial: "layouts/mailbot_footer" %>