{% extends 'user/detail.html.twig' %}

{% block userDetailContent %}
    <div class="song-row song-row-user">
        {% if charts|length > 0 %}
            <div class="song-list">
                {% for song in charts %}
                    {{ include('components/song-item.html.twig', {song: song}) }}
                {% endfor %}
            </div>
        {% else %}
            <div class="song-list-noresults">
                <div class="noresults-text">This user did not upload any charts yet.</div>
            </div>
        {% endif %}
    </div>
{% endblock %}