{% extends "fortunaisk/base.html" %} {% load i18n %} {% block page_title %} {% trans "Lotteries" %} {% endblock page_title %} {% block details %}

{% trans "Current Lotteries" %}

{% trans "Discover all currently active lotteries. Good luck!" %}

{% if active_lotteries %}
{% for info in active_lotteries %}
{{ info.lottery.lottery_reference }}

{% trans "Start Date" %}: {{ info.lottery.start_date|date:"Y-m-d H:i" }}

{% trans "End Date" %}: {{ info.lottery.end_date|date:"Y-m-d H:i" }}

{% trans "Ticket Price" %}: {{ info.lottery.ticket_price }} ISK

{% trans "Payment Receiver" %}: {{ info.corporation_name }}

{% trans "Number of Winners" %}: {{ info.lottery.winner_count }}

{% trans "Max Tickets/User" %}: {% if info.lottery.max_tickets_per_user %} {{ info.lottery.max_tickets_per_user }} {% else %} {% trans "Unlimited" %} {% endif %} ( {% trans "You have" %} {{ info.user_ticket_count }} )


{% trans "How to Participate" %}

{{ info.instructions }}

{% trans "Do you have a ticket" %}? {% if info.has_ticket %} {% trans "Yes" %} {% else %} {% trans "No" %} {% endif %}

{% endfor %}
{% else %}
{% trans "No lottery is currently available." %}
{% endif %}
{% endblock details %}