From dd6aaf9b285c19879a032853adca90ce6f2b98b4 Mon Sep 17 00:00:00 2001 From: Christopher Neugebauer Date: Mon, 9 Oct 2017 18:37:31 -0700 Subject: [PATCH] =?UTF-8?q?Adds=20=E2=80=9Cplease=20fill=20out=20your=20ow?= =?UTF-8?q?n=20registration=E2=80=9D=20information.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../registrasion/guided_registration.html | 18 ++++++++++++++++++ .../templates/static_pages/attend/attend.html | 2 ++ pinaxcon/views.py | 6 +++++- 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 pinaxcon/templates/registrasion/guided_registration.html diff --git a/pinaxcon/templates/registrasion/guided_registration.html b/pinaxcon/templates/registrasion/guided_registration.html new file mode 100644 index 0000000..86f718e --- /dev/null +++ b/pinaxcon/templates/registrasion/guided_registration.html @@ -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 %} +
Attendees should fill out their own registration form.
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.
+ {% endif %} + + {{ block.super }} + +{% endblock %} diff --git a/pinaxcon/templates/static_pages/attend/attend.html b/pinaxcon/templates/static_pages/attend/attend.html index 8a31694..2a8954e 100644 --- a/pinaxcon/templates/static_pages/attend/attend.html +++ b/pinaxcon/templates/static_pages/attend/attend.html @@ -18,6 +18,8 @@

To buy a ticket, create an account, and go to the dashboard. If you've already bought a ticket, you can check out our information on where to stay if you want to come up for the weekend, and how to get here.

+

Attendees should fill out their own registration form. 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.

+
Buy a Ticket
diff --git a/pinaxcon/views.py b/pinaxcon/views.py index 4fe6afc..6d6210d 100644 --- a/pinaxcon/views.py +++ b/pinaxcon/views.py @@ -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")