Changeset - 978dd1f124bf
[Not reviewed]
0 1 0
Christopher Neugebauer - 7 years ago 2017-05-26 17:44:25
chrisjrn@gmail.com
Slightly refactors the dashbaord
1 file changed with 8 insertions and 6 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templates/dashboard.html
Show inline comments
...
 
@@ -104,24 +104,32 @@
 
                {% else %}
 
                  <a href="{% url "attendee_edit" %}" class="btn btn-xs btn-default">
 
                      <i class="fa fa-pencil"></i> Edit your attendee profile
 
                  </a>
 

	
 
                  {% items_pending as pending %}
 
                  {% if pending %}
 
                    <a href="{% url "checkout" %}" class="btn btn-xs btn-default">
 
                        <i class="fa fa-credit-card"></i> Check out and pay
 
                    </a>
 
                  {% endif %}
 
                {% endif %}
 
                <a href="{% url "voucher_code" %}" class="btn btn-xs btn-default">
 
                    Enter a voucher code
 
                </a>
 
                {% if user.is_staff %}
 
                  <a href="{% url "reports_list" %}" class="btn btn-xs btn-default">View reports</a>
 
                {% endif %}
 

	
 

	
 
            </div>
 
            <h3 class="panel-title">
 
              <i class="fa fa-ticket"></i>
 
                {% trans "Registration" %}
 
            </h3>
 

	
 
        </div>
 

	
 
        <div class="panel-body">
 
            {% if not user.attendee.completed_registration %}
 
                <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 %}
...
 
@@ -157,30 +165,24 @@
 
                    {% endif %}
 
                  {% endfor %}
 
                </ul>
 
              {% endif %}
 

	
 
              {% available_credit as credit %}
 
              {% if credit %}
 
                <p>You have ${{ credit }} leftover from refunded invoices. This credit will be automatically applied to new invoices. Contact the conference organisers to
 
                for a refund to your original payment source.</p>
 
              {% endif %}
 
            {% endif %}
 

	
 
          {% if user.is_staff %}
 
            <h4>Registration reports</h4>
 

	
 
            <p><a href="{% url "reports_list" %}">View available reports</a>.
 
            </p>
 
          {% endif %}
 
          </div>
 
    </div>
 

	
 
    <div class="panel panel-default">
 
        <div class="panel-heading">
 
            <div class="pull-right header-actions">
 
                {% if not user.sponsorships.exists %}
 
                    <a href="{% url "sponsor_apply" %}" class="btn btn-xs btn-default">
 
                        <i class="fa fa-plus-sign"></i>
 
                        Apply to be a sponsor
 
                    </a>
 
                {% endif %}
0 comments (0 inline, 0 general)