Skip to content

Commit

Permalink
fix: Afterparty fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hampfh committed Nov 15, 2024
1 parent 9a5eb5a commit b953823
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions banquet/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ def dashboard(request, year):
]
invite_permission = request.user in auth_users

max_invites = 5 # The number of people someone may invite to the after party
max_invites = 2 # The number of people someone may invite to the after party

# Any Armada member can invite friends to the after-party
# during a time period before the current fair
Expand Down Expand Up @@ -506,8 +506,6 @@ def dashboard(request, year):

invite_permission = request.user in auth_users

max_invites = 2

# For using after party-invitations, change False to invitation_period
return render(
request,
Expand Down
1 change: 0 additions & 1 deletion templates/banquet/email/after_party_invite.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
Your ticket can be purchased at a discounted price of only {{ price }} SEK.
</li>
</ul>
{% include 'email/button.html' with content="Go to invitation" url=link %}
{% include 'email/divider.html' %}
<p style="font-size:16px;line-height:24px;margin:16px 0;color:#525f7f;text-align:left">
Please note that this is an automatic email, and you cannot respond to this email.
Expand Down

0 comments on commit b953823

Please sign in to comment.