From cce39468e5308ecf280ca0f3d16f0ef57e05f11e 2017-10-03 01:26:09 From: Christopher Neugebauer Date: 2017-10-03 01:26:09 Subject: [PATCH] Moves /register to /tickets and adds invoice details --- diff --git a/pinaxcon/templates/registrasion/invoice/details.html b/pinaxcon/templates/registrasion/invoice/details.html new file mode 100644 index 0000000000000000000000000000000000000000..7213d381249185648c662c8ee12761444c79906b --- /dev/null +++ b/pinaxcon/templates/registrasion/invoice/details.html @@ -0,0 +1,48 @@ +{% extends "registrasion/invoice/details_.html" %} +{% comment %} + Blocks that you can override: + + - heading + - subheading + - invoice_intro + - extra_line_items + - contact_info + +{% endcomment %} + +{% block heading %} + {% if invoice.is_paid or invoice.is_refunded %} + Registration Receipt + {% else %} + Pending Registration + {% endif %} +{% endblock %} + +{% block subheading %} + North Bay Python. December 2 & 3 2017. Petaluma, California. +{% endblock %} + +{% block invoice_intro %} + {% if invoice.is_unpaid %} + This is a registration summary for North Bay Python 2017. It is not confirmed until paid in full. + {% elif invoice.is_void %} + This is a void registration summary for North Bay Python 2017. It is provided for informational purposes only. + {% elif invoice.is_refunded %} + This is a refunded registration summary for North Bay Python 2017. It is provided for informational purposes only. + {% elif invoice.is_paid %} + This is a confirmed registration summary for North Bay Python 2017. + {% endif %} + +{% endblock %} + +{% block contact_info %} +

Direct inquiries to spam@northbaypython.org

+

North Bay Python is a member project of Software Freedom Conservancy, a 501(c)(3) public charity registered in New York.

+ + Mailing Address +
+ Software Freedom Conservancy, Inc.
+ 137 MONTAGUE ST STE 380
+ Brooklyn, NY 11201-3548
+
+{% endblock %} diff --git a/pinaxcon/urls.py b/pinaxcon/urls.py index 72bcce7418da578c75c8f655cafeb321f5719e88..47eb38623f60fe9e15ee2b8dbc45d7ab318e7177 100644 --- a/pinaxcon/urls.py +++ b/pinaxcon/urls.py @@ -80,7 +80,7 @@ urlpatterns = [ url(r"^register/payments/", include("registripe.urls")), # Required by registrasion - url(r'^register/', include('registrasion.urls')), + url(r'^tickets/', include('registrasion.urls')), url(r'^nested_admin/', include('nested_admin.urls')), # Catch-all MUST go last.