{% extends 'lists/list_layout.html' %} {% load i18n %} {% block panel %} {% trans "Pending Books" %} {% trans "Go to list" %} {% if not pending.exists %} {% trans "You're all set!" %} {% else %} {% for item in pending %} {% with book=item.book %} {% include 'snippets/book_cover.html' %} {% include 'snippets/book_titleby.html' %} {% trans "Suggested by" %} {{ item.user.display_name }} {% csrf_token %} {% trans "Approve" %} {% csrf_token %} {% trans "Discard" %} {% endwith %} {% endfor %} {% endif %} {% endblock %}
{% trans "Go to list" %}
{% trans "You're all set!" %}