Adds “please fill out your own registration” information.

This commit is contained in:
Christopher Neugebauer 2017-10-09 18:37:31 -07:00
parent 31041cc6de
commit dd6aaf9b28
3 changed files with 25 additions and 1 deletions

View file

@ -0,0 +1,18 @@
{% extends "registrasion/guided_registration_.html" %}
{% comment %}
Blocks that you can override:
- discounts_intro
- products_intro
{% endcomment %}
{% block content %}
{% if current_step == 1 %}
<div class="alert alert-danger"><strong>Attendees should fill out their own registration form</strong>.<br/> When you complete the form, you'll receive a link that you can pass on to accounts staff if you need someone to pay on your behalf.</div>
{% endif %}
{{ block.super }}
{% endblock %}

View file

@ -18,6 +18,8 @@
<p>To buy a ticket, <a href="/dashboard">create an account, and go to the dashboard</a>. If you've already bought a ticket, you can check out our information on <a href="/attend/hotels">where to stay</a> if you want to come up for the weekend, and <a href="/attend/travel">how to get here</a>.</p> <p>To buy a ticket, <a href="/dashboard">create an account, and go to the dashboard</a>. If you've already bought a ticket, you can check out our information on <a href="/attend/hotels">where to stay</a> if you want to come up for the weekend, and <a href="/attend/travel">how to get here</a>.</p>
<p><strong>Attendees should fill out their own registration form</strong>. When you complete the form, you'll receive a link that you can pass on to accounts staff if you need someone to pay on your behalf.</p>
<br /> <br />
<div class="pull-right"><a class="btn btn-lg btn-primary" href="/tickets/buy">Buy a Ticket</a></div> <div class="pull-right"><a class="btn btn-lg btn-primary" href="/tickets/buy">Buy a Ticket</a></div>

View file

@ -35,6 +35,10 @@ def buy_ticket(request):
print(dir(request.user)) print(dir(request.user))
if not request.user.is_authenticated(): if not request.user.is_authenticated():
messages.warning(request, 'To buy a ticket, either create an account, or log in.') messages.warning(request,
'''To buy a ticket, either create an account, or log in.
Attendees should fill out their own registration.
You will receive a payment link that you can pass to accounts
staff, if required. ''')
return redirect("/dashboard") return redirect("/dashboard")