File size: 975 Bytes
187ef74
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{% extends "base.html" %}
{% block content %}
<section class="orders-index">
  <h1>Your tickets</h1>
  {% if orders %}
  <p>Every registration on this account, newest date last.</p>
  <ol class="order-list">
    {% for order in orders %}
    <li class="order-row">
      <div class="order-copy">
        <h2><a class="card-link" href="/e/{{ order.slug }}">{{ order.title }}</a></h2>
        <p class="event-when">{{ order.occurrence_label }}</p>
        <p>{{ order.quantity }} × General Admission · ${{ order.total }}</p>
      </div>
      <a class="cta secondary" href="/orders/{{ order.reference }}/receipt">View order</a>
    </li>
    {% endfor %}
  </ol>
  {% else %}
  <div class="state-panel">
    <h2>No tickets yet</h2>
    <p>When you register for an event it will appear here with its order details.</p>
    <p><a href="/d/{{ browse_place.slug }}/all--events/">Browse events in {{ browse_place.label }}</a></p>
  </div>
  {% endif %}
</section>
{% endblock %}