{% extends "PackagistWebBundle::layout.html.twig" %}

{% import "PackagistWebBundle::macros.html.twig" as macros %}


{% block content %}
    <div class="box clearfix">
        <h1>{{ user.username }}</h1>
        <p>Member since {{ user.createdAt|date('M d, Y') }}
        <h2>Packages</h2>
        {% if packages|length %}
            {{ macros.listPackages(packages) }}
        {% else %}
            <p>No packages found.</p>
        {% endif %}
    </div>
{% endblock %}