{% extends 'layout.html' %} {% block content %}

User profile

{% if is_self %}
Edit profile
{% endif %}
{% include 'snippets/user_header.html' with user=user %}

Shelves

{% for shelf in shelves %}

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

{% endfor %}
See all {{ shelf_count }} shelves
{% 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 %}