Your books
{% if not suggested_books %}
There are no books here right now! Try searching for a book to get started
{% else %}
{% for shelf in suggested_books %}
{% if shelf.books %}
{% with shelf_counter=forloop.counter %}
-
{{ shelf.name }}
{% endwith %}
{% endif %}
{% endfor %}
{% for shelf in suggested_books %}
{% with shelf_counter=forloop.counter %}
{% for book in shelf.books %}
{% include 'snippets/shelve_button.html' with book=book %}
{% include 'snippets/create_status.html' with book=book %}
{% endfor %}
{% endwith %}
{% endfor %}
{% endif %}
{% if goal %}
{{ goal.year }} Reading Goal
{% include 'snippets/goal_progress.html' with goal=goal %}
{% endif %}
{{ tab | title }} Timeline
{# announcements and system messages #}
{% if not goal and tab == 'home' %}
{% now 'Y' as year %}
{% include 'snippets/goal_card.html' with year=year %}
{% endif %}
{# activity feed #}
{% if not activities %}
There aren't any activities right now! Try following a user to get started
{% endif %}
{% for activity in activities %}
{% include 'snippets/status.html' with status=activity %}
{% endfor %}
{% include 'snippets/pagination.html' with page=activities path='/'|add:tab anchor="#feed" %}