{% 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' with cover_class='is-w-xs-mobile is-w-s is-h-xs-mobile is-h-s' size_mobile='xsmall' size='small' %} {% 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!" %}