{% extends 'base.html' %} {% block scripts %} {% endblock %} {% block header %}

{% block title %} {% if letter %} {{title}}: "{{ letter.upper() }}" {% else %} {{title}} {% endif %} {% endblock %}

{% endblock %} {% block content %}

{% if sort_order == "Alphabetical" %} {# MSG: Label which displays that the songs are currently sorted by alphabetical order. #} {% trans %}Sorted Alphabetically{% endtrans %} | {# MSG: Button which changes how the songs are sorted so they become sorted by date. #} {% trans %}Sort by Date{% endtrans %} {% endif %} {% if sort_order == "Date" %} {# MSG: Label which displays that the songs are currently sorted by date. #} {% trans %}Sorted by date{% endtrans %} | {# MSG: Button which changes how the songs are sorted so they become sorted by name. #} {% trans %}Sort by Alphabetical{% endtrans %} {% endif %}

# {% for letter in ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'] %} {{letter.upper()}} {% endfor %}
{{ pagination.links }} {{ pagination.info }} {% for song in songs %} {% if admin %} {% endif %} {% endfor %}
{{loop.index + pagination.skip}} {{filename_from_path(song)}}
{{ pagination.links }} {% endblock %}