Adds “please fill out your own registration” information.
This commit is contained in:
parent
31041cc6de
commit
dd6aaf9b28
3 changed files with 25 additions and 1 deletions
18
pinaxcon/templates/registrasion/guided_registration.html
Normal file
18
pinaxcon/templates/registrasion/guided_registration.html
Normal 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 %}
|
|
@ -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><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 />
|
||||
|
||||
<div class="pull-right"><a class="btn btn-lg btn-primary" href="/tickets/buy">Buy a Ticket</a></div>
|
||||
|
|
|
@ -35,6 +35,10 @@ def buy_ticket(request):
|
|||
|
||||
print(dir(request.user))
|
||||
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")
|
||||
|
|
Loading…
Reference in a new issue