{% extends 'user/user_layout.html' %} {% load i18n %} {% block title %}{{ user.name }}{% endblock %} {% block header %}

{% trans "User Profile" %}

{% if is_self %}
{% trans "Edit profile" %}
{% endif %}
{% endblock %} {% block panel %} {% if user.bookwyrm_user %}

{% trans "Shelves" %}

{% for shelf in shelves %}

{{ shelf.name }} {% if shelf.size > 3 %}({% blocktrans with size=shelf.size %}See all {{ size }}{% endblocktrans %}){% endif %}

{% endfor %}
{% blocktrans %}See all {{ shelf_count }} shelves{% endblocktrans %}
{% endif %} {% if goal %}

{% now 'Y' %} Reading Goal

{% include 'snippets/goal_progress.html' with goal=goal %}
{% elif user == request.user %}
{% now 'Y' as year %}

{% blocktrans %}Set a reading goal for {{ year }}{% endblocktrans %}

{% endif %}

{% trans "User Activity" %}

{% for activity in activities %}
{% include 'snippets/status/status.html' with status=activity %}
{% endfor %} {% if not activities %}

{% trans "No activities yet!" %}

{% endif %} {% include 'snippets/pagination.html' with page=activities path=user.local_path anchor="#feed" %}
{% endblock %}