{% extends 'lists/list_layout.html' %} {% load bookwyrm_tags %} {% block panel %} {% if request.user == list.user and pending_count %}

{{ pending_count }} book{{ pending_count | pluralize }} awaiting your approval

{% endif %}
{% if not items.exists %}

This list is currently empty

{% else %}
    {% for item in items %}
  1. {% include 'snippets/book_titleby.html' with book=item.book %} {% include 'snippets/stars.html' with rating=item.book|rating:request.user %} {% include 'snippets/shelve_button.html' with book=item.book %}
  2. {% endfor %}
{% endif %}
{% if not list.curation == 'closed' or request.user == list.user %}

{% if list.curation == 'open' or request.user == list.user %}Add{% else %}Suggest{% endif %} Books

{% if query %}

Clear search

{% endif %}
{% if not suggested_books %}

No books found{% if query %} matching the query "{{ query }}"{% endif %}

{% endif %} {% for book in suggested_books %}

{% include 'snippets/book_titleby.html' with book=book %}

{% csrf_token %}
{% endfor %}
{% endif %}
{% endblock %}