Skip to content

Commit

Permalink
Add meal group to confirmation email
Browse files Browse the repository at this point in the history
  • Loading branch information
NitroGuy10 committed Sep 11, 2024
1 parent 88abd1e commit 80621ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions hiss/application/emails.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def send_confirmation_email(app: Application) -> None:
"event_year": settings.EVENT_YEAR,
"organizer_email": settings.ORGANIZER_EMAIL,
"apple_wallet_url": get_apple_wallet_pass_url(app.user.email),
"meal_group": app.meal_group,
}
html_msg = render_to_string(email_template, context)
msg = html.strip_tags(html_msg)
Expand Down
3 changes: 3 additions & 0 deletions hiss/templates/application/emails/confirmed.html
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,9 @@ <h1 style="display: block;margin: 0;padding: 0;color: #222222;font-family: Helve
<img alt="Add to Apple Wallet" src="https://developer.apple.com/wallet/add-to-apple-wallet-guidelines/images/button-two-line-large.png" style="display: block; margin-left: auto; margin-right: auto;" />
</a>
<br>
<p style="font-size:28px; text-align: center;"><strong>You are in meal group:</strong></p>
<p style="font-size:28px; text-align: center;"><strong>{{ meal_group }}</strong></p>
<br>

<span style="font-size:16px"><span style="color:#7ebffa">Parking</span></span></strong><br>
There are two parking lots available for parking during the event. Please read the information below for the details of each parking lot. You can click on each address to view the location on Google Maps.&nbsp;</p>
Expand Down

0 comments on commit 80621ef

Please sign in to comment.