{% extends 'user/user_layout.html' %} {% block header %}

User profile

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

Shelves

{% for shelf in shelves %}

{{ shelf.name }} {% if shelf.size > 3 %}(See all {{ shelf.size }}){% endif %}

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

{% now 'Y' %} Reading Goal

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

Set a reading goal for {% now 'Y' %}

{% endif %}

User Activity

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

No activities yet!

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