{% comment %} A scoreboard template to paste into the admin: the scores on the left, the clock on the right, the event's badge above the clock, and a picture behind it all. See "Write a whole page in the admin" in docs/compops.md. What the live updates need, and nothing else is fixed: - the scripts variable in the head, and the attrs variable on the body; - the board tag and its endboard around what changes during a match; - the clock_attrs variable on the clock's element, with #sb-time inside it (and #sb-label and #sb-dots if they are wanted). {% endcomment %} {{ ground.title }} · {{ competition.title }} {{ scripts }} {% board %} {% if match %}
{{ home.code }}{{ home.name }}{{ home.score }}
{{ away.code }}{{ away.name }}{{ away.score }}
{# The event's badge. Put an of the real one here. #}
{{ competition.title|upper }} {{ season.title|upper }}
{% if clock %}
{{ moment.label }} {{ moment.display }} {% if dots %}
    {% for dot in dots %}
  1. {% endfor %}
{% endif %}
{% endif %}
{{ match.division }} · {{ match.stage }}{{ ground.title }} · {{ match.time }}
{% else %}
No matches on {{ ground.title }} today
{% endif %} {% endboard %} {% if variant == "display" %}{% endif %}