Skip to content

Commit 504cced

Browse files
committed
Don't mention hotel perk without hours set take 2
Missed a couple spots!
1 parent 02ae655 commit 504cced

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

uber/automated_emails.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -929,7 +929,7 @@ def __init__(self, subject, template, filter, ident, **kwargs):
929929
)
930930

931931

932-
if c.HOTELS_ENABLED:
932+
if c.HOTELS_ENABLED and c.HOURS_FOR_HOTEL_SPACE:
933933
AutomatedEmailFixture(
934934
Attendee,
935935
'Want volunteer hotel room space at {EVENT_NAME}?',

uber/templates/emails/shifts/shifts_worked.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
{% if c.HOTELS_ENABLED and c.HOURS_FOR_HOTEL_SPACE %}<br/><br/>Remember, if you don't have at least {{ c.HOURS_FOR_REFUND }} weighted hours, you won't be eligible for a staff badge or hotel space for {{ c.EVENT_NAME }} {{ c.EPOCH|datetime_local("%Y")|int + 1 }}. If you don't have {{ c.HOURS_FOR_HOTEL_SPACE }} weighted hours and claimed hotel space this year, we will also be reviewing your eligibility for next event.{% endif %}
1818

19-
<br/><br/>If you have any issues with the shifts listed, please contact us before the end of the month so that we can fix any issues that could impact your ability to staff{% if c.HOTELS_ENABLED %} or request hotel space{% endif %} next year.
19+
<br/><br/>If you have any issues with the shifts listed, please contact us before the end of the month so that we can fix any issues that could impact your ability to staff{% if c.HOTELS_ENABLED and c.HOURS_FOR_HOTEL_SPACE %} or request hotel space{% endif %} next year.
2020

2121
<br/>
2222
<table width="95%" align="center">

0 commit comments

Comments
 (0)