Files @ 3ffa5fab60de
Branch filter:

Location: symposion_app/pinaxcon/templates/registrasion/discount_list.html

James Polley
Don't require login to view qrcode

* The qrcode contains no information that isn't in the URL you used to
access the code, so information is being leaked
* Allowing unauthenicated access lets people see the image in their
mail client

Not ideal. Let's revert this later and think of something better next
year - perhaps spending some more time researching best practices on
images in email..
{% if discounts %}
<div class="panel-success">
  <h3 class="panel-heading">Discounts and Complimentary Items</h3>
    <div class="panel-body">
      <blockquote>
        <p>The following discounts and complimentary items are available to you. If you wish to take advantage of this offer, you must choose your items below. This discounts will be applied automatically when you check out.</p>
        {% regroup discounts by discount.description as discounts_grouped %}
        {% for discount_type in discounts_grouped %}
        <h4>{{ discount_type.grouper }}</h4>
        <ul>
          {% for discount in discount_type.list %}
            <li>{{ discount.quantity }} &times; {{ discount.clause }}</li>
          {% endfor %}
        </ul>
      {% endfor %}
    </blockquote>
    <hr />
  </div>
</div>

{% endif %}