Changeset - 1816747523f9
[Not reviewed]
0 1 0
Christopher Neugebauer - 7 years ago 2017-05-26 21:46:32
chrisjrn@gmail.com
Adds sellout conditions to dashboard
1 file changed with 9 insertions and 0 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templates/dashboard.html
Show inline comments
...
 
@@ -96,2 +96,3 @@
 

	
 
    {% sold_out_and_unregistered as sold_out %}
 
    <div class="panel panel-default">
...
 
@@ -100,2 +101,3 @@
 
                {% if not user.attendee.completed_registration %}
 
                  {% if not sold_out %}
 
                    <a href="{% url "guided_registration" %}" class="btn btn-xs btn-default">
...
 
@@ -103,2 +105,3 @@
 
                    </a>
 
                  {% endif %}
 
                {% else %}
...
 
@@ -133,3 +136,9 @@
 
            {% if not user.attendee.completed_registration %}
 
              {% if not sold_out %}
 
                <p>To attend the conference, you must purchase a ticket. <a href="{% url "guided_registration" %}">Use our registration form to purchase your ticket</a>.
 
              {% else %}
 
                <p>There are no tickets available to the general public.</p>
 

	
 
                <p>If you have a voucher code, you can <a href="{% url "voucher_code" %}">enter that voucher code</a>, which may enable tickets for you.</p>
 
              {% endif %}
 
            {% else %}
0 comments (0 inline, 0 general)