{% extends 'layout.html' %} {% load fr_display %} {% block content %}
{% for shelf in shelves %} {% if shelf.books %}

{{ shelf.name }} {% if shelf.size > shelf.books|length %} (See all {{ shelf.size }}) {% endif %}

{% for book in shelf.books %}
{% include 'snippets/book_cover.html' with book=book %} {% include 'snippets/shelve_button.html' with book=book %}
{% endfor %}
{% endif %} {% endfor %}
{% for shelf in shelves %} {% for book in shelf.books %}
Close
{% include 'snippets/create_status.html' with book=book user=request.user %}
{% endfor %} {% endfor %}
{% include 'snippets/tabs.html' with tabs=feed_tabs active_tab=active_tab %}
{% for activity in activities %}
{% include 'snippets/status.html' with status=activity %}
{% endfor %}
{% endblock %}