{% extends "admin/base.html" %} {% block title %}{{ album.title }} — tracks{% endblock title %} {% block crumb %}audio/{{ album.slug }}{% endblock crumb %} {% block content %}

root@universal-web:/admin/audio/{{ album.slug }}# ls

{{ album.title }}

// album · {{ tracks | length }} song(s) · {% if album.published %}published{% else %}draft{% endif %}

[ ↑ upload song into album ] [ view ] [ albums ]

# two ways to add a song to this album

[a] upload a new file straight into the album — use the button above.
[b] pick an existing song that isn’t in any album yet — use the form below.
~/audio/{{ album.slug }}/tracklist {{ tracks | length }} songs
{% if available_tracks | length > 0 %}

these are songs you’ve uploaded that aren’t in an album yet.

{% endif %} {% if tracks | length > 0 %}
{% for track in tracks %} {% endfor %}
# song status featured actions
{% if track.track_number %}{{ track.track_number }}{% else %}—{% endif %} {{ track.title }} {% if track.published %} published {% else %} draft {% endif %} {% if track.featured %} featured {% else %} {% endif %}
play {% if track.published %}
{% else %}
{% endif %}
{% else %}

this album has no songs yet

$ upload a file into the album, or add an existing song above

{% endif %}
{% endblock content %}