Deletes a lot of old templates
This commit is contained in:
		
							parent
							
								
									bc33550d41
								
							
						
					
					
						commit
						02e432e274
					
				
					 9 changed files with 0 additions and 304 deletions
				
			
		|  | @ -1,46 +0,0 @@ | |||
| {% 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 %} | ||||
| 
 | ||||
| <h3>Cancelled Items</h3> | ||||
| 
 | ||||
| {% 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 %} | ||||
|  | @ -1,16 +0,0 @@ | |||
| {% extends "site_base.html" %} | ||||
| {% load bootstrap %} | ||||
| {% load registrasion_tags %} | ||||
| 
 | ||||
| {% block body %} | ||||
| 
 | ||||
| <h2>Generate badges zip</h2> | ||||
| 
 | ||||
| <form method="POST"> | ||||
|   {% csrf_token %} | ||||
|   {{ form | bootstrap}} | ||||
|   <br/> | ||||
|   <input type="submit"> | ||||
| </form> | ||||
| 
 | ||||
| {% endblock %} | ||||
|  | @ -1,25 +0,0 @@ | |||
| {% extends "registrasion/base.html" %} | ||||
| {% load bootstrap %} | ||||
| {% load registrasion_tags %} | ||||
| 
 | ||||
| {% block body %} | ||||
| 
 | ||||
|   <h1>Oh No!</h1> | ||||
| 
 | ||||
|   <p>We can't produce an invoice for you because of the following errors:</p> | ||||
| 
 | ||||
|   <ul> | ||||
|     {% for error in error_list %} | ||||
|       <li>{{ error.message }}</li> | ||||
|     {% endfor %} | ||||
|   </ul> | ||||
| 
 | ||||
|   <p>We can automatically try to remove products and vouchers that aren't available anymore, | ||||
|     or you can return to the dashboard and try to fix it yourself.</p> | ||||
| 
 | ||||
|   <div class="form-actions"> | ||||
|     <a class="btn btn-default" href="{% url "checkout" %}?fix_errors=true">Try fixing these errors</a> | ||||
|     <a class="btn btn-default" href="{% url "dashboard" %}">Return to dashboard</a> | ||||
|   </div> | ||||
| 
 | ||||
| {% endblock %} | ||||
|  | @ -1,31 +0,0 @@ | |||
| {% extends "site_base.html" %} | ||||
| {% load bootstrap %} | ||||
| {% load registrasion_tags %} | ||||
| 
 | ||||
| {% block body %} | ||||
| 
 | ||||
| <h2>Send reminder e-mails</h2> | ||||
| 
 | ||||
| <form method="POST"> | ||||
|   {% csrf_token %} | ||||
|   {{ form | bootstrap}} | ||||
|   <br/> | ||||
|   <input type="submit"> | ||||
| </form> | ||||
| 
 | ||||
| {% if emails %} | ||||
|   <h3>Previews</h3> | ||||
| 
 | ||||
|   {% for email in emails %} | ||||
|     <dl> | ||||
|       <dt>From</dt><dd>{{ email.from_email }}</dd> | ||||
|       <dt>To</dt><dd>{{ email.recipient_list|join:", " }}</dd> | ||||
|       <dt>Subject</dt><dd>{{ email.subject }}</dd> | ||||
|       <dt>Body</dt><dd><pre>{{ email.body }}</pre></dd> | ||||
|     </dl> | ||||
|     <hr /> | ||||
|   {% endfor %} | ||||
| 
 | ||||
| {% endif %} | ||||
| 
 | ||||
| {% endblock %} | ||||
|  | @ -1,31 +0,0 @@ | |||
| {% extends "registrasion/base.html" %} | ||||
| {% load bootstrap %} | ||||
| 
 | ||||
| {% block body %} | ||||
| 
 | ||||
|   <h1>Invoice {{ invoice.id }} - {{ invoice.get_status_display }}</h1> | ||||
| 
 | ||||
|   <h2>Past payments</h2> | ||||
| 
 | ||||
|   {% include "registrasion/payment_list.html" with payments=invoice.paymentbase_set.all %} | ||||
| 
 | ||||
|   <h2>Apply manual payment</h2> | ||||
| 
 | ||||
|   <p>Enter a reference and the amount of the payment. A refund is a negative | ||||
|   payment.</p> | ||||
| 
 | ||||
|   <form method="post" action=""> | ||||
|     {% csrf_token %} | ||||
| 
 | ||||
|     <table> | ||||
|         {{ form|bootstrap }} | ||||
|     </table> | ||||
| 
 | ||||
|     <div class="form-actions"> | ||||
|         <input class="btn btn-primary" type="submit" value="Apply payment" /> | ||||
|         <a class="btn btn-default" href="{% url "invoice" invoice.id %}">Return to invoice</a> | ||||
|     </div> | ||||
|   </form> | ||||
| 
 | ||||
| 
 | ||||
| {% endblock %} | ||||
|  | @ -1,16 +0,0 @@ | |||
| {% if payments %} | ||||
| <table class="table table-striped"> | ||||
|   <tr> | ||||
|     <th>Payment time</th> | ||||
|     <th>Reference</th> | ||||
|     <th>Amount</th> | ||||
|   </tr> | ||||
|   {% for payment in payments %} | ||||
|     <tr> | ||||
|       <td>{{payment.time}}</td> | ||||
|       <td>{{payment.reference}}</td> | ||||
|       <td>{{payment.amount}}</td> | ||||
|     </tr> | ||||
|   {% endfor %} | ||||
| </table> | ||||
| {% endif %} | ||||
|  | @ -1,44 +0,0 @@ | |||
| {% extends "site_base.html" %} | ||||
| {% load bootstrap %} | ||||
| {% load registrasion_tags %} | ||||
| 
 | ||||
| {% block body %} | ||||
| 
 | ||||
|   <h2>{{ title }}</h2> | ||||
| 
 | ||||
|   {% if form %} | ||||
|     <form method="GET"> | ||||
|       {{ form | bootstrap}} | ||||
|       <br/> | ||||
|       <input type="submit"> | ||||
|     </form> | ||||
|   {% endif %} | ||||
| <hr /> | ||||
| 
 | ||||
| {% for report in reports %} | ||||
| 
 | ||||
|   <div class="btn-group pull-right"> | ||||
|     <a class="btn btn-default" href="{% report_as_csv forloop.counter0 %}">View as CSV</a> | ||||
|   </div> | ||||
| 
 | ||||
|   <h3>{{ report.title }}</h3> | ||||
| 
 | ||||
|   <table class="table table-striped"> | ||||
|     <tr> | ||||
|       {% for heading in report.headings %} | ||||
|         <th>{{ heading }}</th> | ||||
|       {% endfor %} | ||||
|     </tr> | ||||
|     {% for line in report.rows %} | ||||
|       <tr> | ||||
|         {% for item in line %} | ||||
|           <td> | ||||
|             {{ item|safe }} | ||||
|           </td> | ||||
|         {% endfor %} | ||||
|       </tr> | ||||
|     {% endfor %} | ||||
|   </table> | ||||
| {% endfor %} | ||||
| 
 | ||||
| {% endblock %} | ||||
|  | @ -1,21 +0,0 @@ | |||
| {% extends "site_base.html" %} | ||||
| {% load bootstrap %} | ||||
| {% load registrasion_tags %} | ||||
| {% block body %} | ||||
| 
 | ||||
| <h2>Registration reports</h2> | ||||
| 
 | ||||
| <table class="table table-striped"> | ||||
|   {% for report in reports %} | ||||
|     <tr> | ||||
|       <td> | ||||
|         <a href="{{ report.url }}">{{ report.name }}</a> | ||||
|       </td> | ||||
|       <td> | ||||
|         {{ report.description }} | ||||
|       </td> | ||||
|     </tr> | ||||
|   {% endfor %} | ||||
| </table> | ||||
| 
 | ||||
| {% endblock %} | ||||
|  | @ -1,74 +0,0 @@ | |||
| {% 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 %} | ||||
| 
 | ||||
|   {% items_purchased as purchased %} | ||||
|   {% if purchased %} | ||||
|     <p>You've already paid for the following items:</p> | ||||
|     {% 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. Even if your ticket includes complimentary tickets to social | ||||
|         events, or t-shirts, you must still add them to your selection. | ||||
|       </strong> | ||||
|     </p> | ||||
| 
 | ||||
|     {% include "registrasion/_category_list.html" with categories=missing %} | ||||
| 
 | ||||
|   {% endif %} | ||||
| 
 | ||||
|   <p> | ||||
|     <strong>You can also change your selection 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 selections, or return to | ||||
|       the dashboard.</p> | ||||
| 
 | ||||
|   <div class="form-actions"> | ||||
|     <a class="btn btn-primary" 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 %} | ||||
| 
 | ||||
| {% endblock %} | ||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Christopher Neugebauer
						Christopher Neugebauer