{% extends 'bingo/base.html' %} {% load i18n %} {% load staticfiles %} {% block title %}{% trans "Board" %} #{{ board.board_id }}{% endblock %} {% block extra_style %} {{ block.super }} td.bingofield.active, li.word.active { background-color: {{ board.color }}; } {% endblock %} {% block extra_head %} {{ block.super }} {% if not board.game.is_expired %} {% endif %} {% endblock %} {% block headline %}{% trans "Board" %} #{{ board.board_id }}{% endblock %} {% block content %} {% trans "Images:" %} {% trans "empty" %} {% trans "marked" %} {% trans "voted" %}

{% if board.game.is_expired %} {% endif %} {% if not board.game.is_expired %} {% endif %}
{% trans 'Created:' %} {{ board.created}}
{% trans 'Last Used:' %} {{ board.last_used }}
{% trans 'Total Users:' %} {{ board.game.num_users }}
{% trans 'Active Users:' %} {{ board.game.num_active_users }}
{% for field in fields_on_board %} {% if forloop.last%} {% elif forloop.counter|divisibleby:5 %} {% endif %} {% endfor %}
{% if not field.is_middle %}{% include 'bingo/vote_form.html' %}{% endif %}
{% comment %} for vertical alignment with the middle field, which has 3 lines {% endcomment %} {% if 11 <= field.position and not field.is_middle and field.position <= 15 %}
{% endif %} {{ field.word.word }} {% if field.is_middle %}
{{ field.board.get_created }}
Bingo #{{ board.board_id }} {% else %} ({{ field.num_votes }}) {% endif %}
{% endblock %}