{# fortunaisk/templates/fortunaisk/lottery_participants.html #} {% extends "fortunaisk/base.html" %} {% load i18n humanize static %} {% block page_title %} {% trans "Lottery Participants" %} {% endblock page_title %} {% block details %}

{% trans "Participants for Lottery:" %} {{ lottery.lottery_reference }}

{% trans "Review the participants and their contributions." %}

{% if participants %}
{% for purchase in participants %}
{% trans "Participant" %}

{% trans "User:" %} {{ purchase.user.username }}

{% trans "Character:" %} {% if purchase.character %} {{ purchase.character.character_name }} {% else %} {% trans "N/A" %} {% endif %}

{% trans "Amount:" %} {{ purchase.amount|floatformat:2|intcomma }} ISK

{% trans "Tickets Purchased:" %} {{ purchase.quantity|intcomma }}

{% trans "Purchase Date:" %} {{ purchase.purchase_date|date:"Y-m-d H:i" }}

{% endfor %}
{% else %}
{% trans "No participants for this lottery." %}
{% endif %}
{% endblock details %}