Changeset - cce39468e530
[Not reviewed]
0 1 1
Christopher Neugebauer - 3 years ago 2017-10-03 01:26:09
chrisjrn@gmail.com
Moves /register to /tickets and adds invoice details
2 files changed with 49 insertions and 1 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templates/registrasion/invoice/details.html
Show inline comments
 
new file 100644
 
{% 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 %}
 
  <p>Direct inquiries to <a href="mailto:spam@northbaypython.org">spam@northbaypython.org</a></p>
 
  <p>North Bay Python is a member project of <a href="https://sfconservancy.org">Software Freedom Conservancy</a>, a 501(c)(3) public charity registered in New York.</p>
 

	
 
  <strong>Mailing Address</strong>
 
  <address>
 
    Software Freedom Conservancy, Inc.<br>
 
    137 MONTAGUE ST STE 380<br>
 
    Brooklyn, NY 11201-3548<br>
 
  </address>
 
{% endblock %}
pinaxcon/urls.py
Show inline comments
...
 
@@ -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.
0 comments (0 inline, 0 general)