Changeset - 39d0947637df
[Not reviewed]
1 3 1
Christopher Neugebauer - 8 years ago 2016-09-14 03:51:27
chrisjrn@gmail.com
s/items_list/_items_list/
4 files changed with 5 insertions and 5 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templates/registrasion/_items_list.html
Show inline comments
 
file renamed from pinaxcon/templates/registrasion/items_list.html to pinaxcon/templates/registrasion/_items_list.html
pinaxcon/templates/registrasion/amend_registration.html
Show inline comments
 
{% extends "site_base.html" %}
 
{% load bootstrap %}
 
{% load registrasion_tags %}
 

	
 
{% block body %}
 

	
 
<h2>Item summary for {{ user.attendee.attendeeprofilebase.attendee_name }}
 
  (id={{user.id}})</h2>
 

	
 
<h3>Paid Items</h3>
 

	
 
<p>You cannot remove paid items from someone's registration. You must first
 
  cancel the invoice that added those items. You will need to re-add the items
 
  from that invoice for the user to have them available again.</p>
 

	
 
{% include "registrasion/items_list.html" with items=paid %}
 
{% include "registrasion/_items_list.html" with items=paid %}
 

	
 
<h3>Cancelled Items</h3>
 

	
 
{% include "registrasion/items_list.html" with items=cancelled %}
 
{% include "registrasion/_items_list.html" with items=cancelled %}
 

	
 
<h3>Amend pending items</h3>
 

	
 
<form method="POST">
 
  {% csrf_token %}
 
  {{ form | bootstrap}}
 
  <br/>
 
  <input type="submit">
 
</form>
 

	
 
<h3>Generate invoice</h3>
 

	
 
<div>
 
  <a class="btn btn-xs btn-default" href="{% url "checkout" user.id %}">Check out cart and view invoice</a>
 
</div>
 

	
 
<h3>Apply voucher</h3>
 

	
 
<form method="POST">
 
  {% csrf_token %}
 
  {{ voucher_form | bootstrap}}
 
  <br/>
 
  <input type="submit">
 
</form>
 

	
 
{% endblock %}
pinaxcon/templates/registrasion/guided_registration_complete.html
Show inline comments
 
{% extends "registrasion/base.html" %}
 
{% load bootstrap %}
 
{% load registrasion_tags %}
 

	
 
{% block body %}
 

	
 
  <h1>Review your selection</h1>
 

	
 
  {% items_pending as pending %}
 
  {% if pending %}
 

	
 
  <h3>Current selection</h3>
 

	
 
  <p>You've selected the following items, which will be in your invoice when
 
    you check out:<p>
 
  {% include "registrasion/items_list.html" with items=pending %}
 
  {% include "registrasion/_items_list.html" with items=pending %}
 

	
 
  <p>You've already paid for the following items:</p>
 
  {% items_purchased as purchased %}
 
  {% if purchased %}
 
    {% include "registrasion/items_list.html" with items=purchased suffix="(PAID)" %}
 
    {% include "registrasion/_items_list.html" with items=purchased suffix="(PAID)" %}
 
  {% endif %}
 

	
 

	
 
  {% missing_categories as missing %}
 

	
 
  <h3>Add to your selection</h3>
 

	
 
  <p>You can add these items now, or you can come back and add them in a
 
    later purchase. </p>
 

	
 
  {% if missing %}
 

	
 
    <p>
 
      <strong>You have <em>not</em> selected any items from the following
 
        categories:</strong>
 
    </p>
 
    {% include "registrasion/_category_list.html" with categories=missing %}
 

	
 
  {% endif %}
 

	
 
  <h3></h3>
 

	
 
  <p><strong>You can also select more items from these categories:</strong></p>
 

	
 
  {% available_categories as available %}
 
  {% include "registrasion/_category_list.html" with categories=available exclude=missing %}
 

	
 
  <h3>What next?</h3>
 

	
 
  <p>You can either generate an invoice and pay for your registration, or return to
 
      the dashboard.</p>
 

	
 
  <div class="form-actions">
 
    <a class="btn btn-default" href="{% url "checkout" %}">
 
      <i class="fa fa-credit-card"></i> Check out and pay
 
    </a>
 
    <a class="btn btn-default" href="{% url "dashboard" %}">Return to dashboard</a>
 
  </div>
 

	
 
  {% else %}
 

	
 
  <p>You have no items that need to be paid.</p>
 

	
 
  <div class="form-actions">
 
    <a class="btn btn-default" href="{% url "dashboard" %}">Return to dashboard</a>
 
  </div>
 

	
 
  {% endif %}
pinaxcon/templates/registrasion/product_category.html
Show inline comments
 
{% extends "registrasion/base.html" %}
 
{% load bootstrap %}
 
{% load registrasion_tags %}
 
{% block body %}
 

	
 
  <h1>Product Category: {{ category.name }}</h1>
 

	
 
  <form method="post" action="">
 
    {% csrf_token %}
 

	
 
    <table>
 
        {{ voucher_form | bootstrap }}
 
    </table>
 

	
 
    <div class="form-actions">
 
        <input class="btn btn-primary" type="submit" value="Add voucher" />
 
    </div>
 

	
 
    {% items_purchased category as items %}
 
    {% if items %}
 
      <h3>Paid items</h3>
 
      <p>You have already paid for the following items:</p>
 
      {% include "registrasion/items_list.html" with items=items %}
 
      {% include "registrasion/_items_list.html" with items=items %}
 
    {% endif %}
 

	
 

	
 
    {% if discounts %}
 
      <h3>Available Discounts</h3>
 
      {% include "registrasion/discount_list.html" with discounts=discounts %}
 
    {% endif %}
 

	
 
    <h3>Available Products</h3>
 
    <p>{{ category.description }}</p>
 
    <table>
 
        {{ form | bootstrap }}
 
    </table>
 

	
 
    <div class="form-actions">
 
        <input class="btn btn-primary" type="submit" value="Add to cart" />
 
    </div>
 

	
 
  </form>
 

	
 

	
 
{% endblock %}
0 comments (0 inline, 0 general)