{% comment %}
List item for a track

Context:
- object: track to render
{% endcomment %}

<span class="track">
    <span class="icon secondary-color">
        <i class="fas fa-music"></i>
    </span>
    <label>
    {% if log %}
    <span>{{ log.date|date:"H:i" }} &mdash; </span>
    {% endif %}
    <span class="has-text-weight-boldk">{{ object.title }}</span>
    {% if object.artist and object.artist != object.title %}
    <span>
    &mdash; {{ object.artist }}
    {% if object.info %}(<i>{{ object.info }}</i>){% endif %}
    </span>
    {% endif %}
    </label>
</span>
