{% extends "photobattle/base.html" %} {% load static %} {% block title %}{{ battle.title }}{% endblock %} {% block head %} {{ block.super }} {% endblock head %} {% block main_content %}
{% if battle.state == 'I' %} Les inscriptions sont ouvertes ! {% elif battle.state == 'U' %} {% elif battle.state == 'V' %} {% elif battle.state == 'C' %} Ce concours est terminé. {% endif %} {% if is_owner %} Gérer{% endif %}
{% if battle.state == "I" %}Aucune équipe inscrite
{% if photos %}
{% for photo in photos %}
{% endfor %}
{% else %}
Aucune photo n'a encore été partagée.
{% endif %}
{% for photo in battle.photos_shuffled %}
{% endfor %}
Vote{{ battle.votes.count | pluralize }} reçu{{ battle.votes.count | pluralize }} : {{ battle.votes.count }}
{% elif battle.state == "C" %}
{% for photo in battle.photos_ranked %}
{% endfor %}