Files @ 34509d23eb9f
Branch filter:

Location: symposion_app/pinaxcon/templates/raffle.html

bsturmfels
Make vendored symposion into an installable Python package

This allows us to install with `pip install "-e vendor/symposion"` similar to
the other vendored packages. There's no good reason for this to be different to
the others and depend on PYTHONPATH hacking.

Re-add
{% extends "site_base.html" %}
{% load registrasion_tags %}
{% load lca2018_tags %}
{% load static %}

{% block head_title %}Raffle Tickets{% endblock %}
{% block page_title %}Raffle Tickets{% endblock %}

{% block content %}
<p>
  All of the raffles you are entered into and the tickets you have for each of them.
  If available, you will be able to purchase additional raffle tickets from the <a href="{% url "dashboard" %}">Dashboard</a>.
</p>

<h2>Your Raffle Tickets</h2>
{% for raffle in raffles %}
{% if raffle.tickets %}
  <h3 class="mt-3">{{ raffle }}</h3>
  <ul>
   {% for id, numbers in raffle.tickets %}
    <li>
      <strong>Ticket {{ id }}</strong>
      <p>{% for number in numbers %}{{ number }}{% if not forloop.last %}, {% endif %}{% endfor %}</p>
    </li>
  {% endfor %}
  </ul>
{% endif %}
{% empty %}
<p>You do not have tickets in any raffles.</p>
{% endfor %}
{% endblock %}