{% trans "Statistics of the stations" %}
{# TODO here #} {% for stats in statistics %}{{ stats.station.name }}, {{ stats.date|date:'l d F Y' }}
{% trans "Date" %} | {% trans "Type" %} {# Translators "Header for statistics view" #} | {% trans "Diffusion or sound played" %} | {% trans "Tags" %} |
---|---|---|---|
{{ item.date|time:"H:i" }} | {{ item.type }} | {{ item.name }} | {% for tag,count in item.tags.items %} {{ tag }}: {{ count }}; {% endfor %} |
{{ track.date|time:"H:i" }} | {% trans "Track" %} | {{ track.artist }} -- |
{{ track.tags.all|join:', ' }} |
{{ stats.date|date:'d/m/Y' }} | {% trans "Total" %} | {# TODO: translation block #}{% with stats.items|length as items_count %} {% with stats.count as tracks_count %} {% blocktrans %} {{ items_count }} items, with a total of {{ tracks_count }} tracks {% endblocktrans %} {% endwith %} {% endwith %} | {% for tag, count, average in stats.tags %}
{{ tag }}: {{ average|floatformat }}% ({{ count }}) {% endfor %} |