<div class="row">
    <aside class="col-md-2 profile_aside" role="complementary">
        <div class="avatar">
            {% if user.getPicture() != "" %}
                <img src="{{ asset('uploads/pictures/') ~  user.getPicture() }}" class="profile_picture" alt="{{ user.getLastName() ~ ' ' ~ user.getFirstName() }}">
            {% else %}
                <h1 class="profile_picture_placeholder"><i class="icon-user"></i></h1>
            {% endif %}
        </div>
        <div class="informations">
            <p class="text-center text-muted">
                {{ 'registered'|trans({}, 'platform') }} {{ user.getCreationDate()| timeAgo }}
            </p>
        </div>
    </aside>
    <div class="col-md-6 profile_informations">
        <h2>{{ user.getLastName() ~ ' ' ~ user.getFirstName() }}</h2>
        <p><span class="icon-envelope"> <a href="mailto:{{ user.getmail() }}" title="{{ user.getmail() }}">{{ user.getmail() }}</a></span></p>
        {% if user.getPhone() is not null %}
            <p><span class="icon-phone-sign"></span> {{ user.getPhone() }}</p>
        {% endif %}
        {% if '' != user.getDescription() %}
            <div class="description_block">
                <p class="lead">Description de {{ user.getLastName() ~ ' ' ~ user.getFirstName() }}</p>
                <div class="description">
                    {{ user.getDescription() |raw }}
                </div>
            </div>
        {% endif %}
    </div>
</div>
