{% extends "layout.html" %} {% block body %}

~{{ user.username }}

{% if user.location %}

{{user.location}}

{% endif %} {% if user.url %}

{{user.url}}

{% endif %} {% if user.bio %}

{{user.bio | md}}

{% endif %} {% if any(lists) %} {% for list in lists %}

{{list.owner.canonical_name}}/{{list.name}}

Last active {{ list.updated | date }}
{% endfor %} View more {{icon("caret-right")}} {% endif %}
{% if any(recent) %}

Recent activity

{% for email in recent %}

{{ email.subject }} {{ email.created | date }}

From {% if current_user %} {{ email.parsed().get('From') }} {% else %} {{ parseaddr(email.parsed().get('From'))[0] }} {% endif %} to {{email.list.owner.canonical_name}}/{{email.list.name}}

{{ format_body(email, limit=15) }}
{% endfor %}
{% else %}

No activity from this user.

{% endif %}
{% endblock %}