{% extends 'base.html' %} {% block scripts %} {% endblock %} {# A right-aligned "Show N" control row below a list, reloading with the chosen row count. These lists are top-N rather than paged, so this says how much of the chart to see -- it is not the page size the tables elsewhere use. #} {% macro limit_select(name, current) %}
| {{ loop.index }} | {# The title as recorded, so a song still counts after leaving the library -- which is also why file_path can be missing, and with it any way to queue the song up again. #}{% if song.file_path %} {# A bare fontello glyph, not a Bulma .icon: this one sits inline with the title, and .icon is a 1.5rem flex box that would ride above it. #} {% endif %} {# Through to every play of this song, and so to who sang it. The id goes with the title because a song downloaded twice ranks as two rows: without it both would open the same combined log, agreeing with neither count. #} {{ song.song }} | {{ song.play_count }} |
{% trans %}Nothing has been played yet.{% endtrans %}
{% endif %} {# MSG: Heading for the list of people who have sung the most songs. #}| {{ loop.index }} | {# Through to this person's plays. The session goes with it, so a chart scoped to one night links to that night rather than to all time. #}{{ performer.performer }} | {{ performer.play_count }} |
{% trans %}Nobody has sung yet.{% endtrans %}
{% endif %} {% endblock %}