{% extends "social/base.html" %} {% from "macros/box.html" import m_box %} {% from "macros/activity.html" import m_activities %} {% block content %} {% call m_box(_("Profile")) %}

{{ user.name }} {# {%- if can_edit %} {{ _("Edit") }} {%- endif %} #}

{%- if user.email %}
{%- endif %} {%- if user.location %}
{{ _("Location:") }} {{ user.location }}
{%- endif %}
{% endcall %}
{% call m_box(_("Details")) %} {%- if view_form.communautes.data %}

{{ _("Communities") }}

{{ view_form.communautes.view_widget.render_view(view_form.communautes)|safe }}

{%- endif %}

{{ _("Stats") }}

{{ _("Joined on:") }} {{ user.created_at|date_age }}.

{{ _("Latest connection:") }} {%- if user.last_active %} {{ user.last_active|date_age }}. {%- else %} {{ _("Never") }}. {%- endif %}

{% endcall %} {% call m_box(_("Recent activities")) %} {{ m_activities(activity_entries) }} {% endcall %} {% endblock %}