diff --git a/bookwyrm/templates/lists/curate.html b/bookwyrm/templates/lists/curate.html index f4ee147a..995ba161 100644 --- a/bookwyrm/templates/lists/curate.html +++ b/bookwyrm/templates/lists/curate.html @@ -2,49 +2,71 @@ {% load i18n %} {% block panel %} -
-

{% trans "Pending Books" %}

-

{% trans "Go to list" %}

+
+
+
+

{% trans "Pending Books" %}

+
+ +

{% trans "Go to list" %}

+
+ {% if not pending.exists %} -

{% trans "You're all set!" %}

+

{% trans "You're all set!" %}

{% else %} - - - - - - - + +
{% for item in pending %} -
- - - - - + {% with book=item.book %} +
+
+
+ + +
+ {% include 'snippets/book_titleby.html' %} +
+
+
+ +
+ {% trans "Suggested by" %} + + + {{ item.user.display_name }} + +
+ +
+
+ {% csrf_token %} + + + + +
+ {% csrf_token %} + + + + +
+
+ {% endwith %} {% endfor %} -
{% trans "Book" %}{% trans "Suggested by" %}
- {% include 'snippets/book_cover.html' with book=item.book size="small" %} - - {% include 'snippets/book_titleby.html' with book=item.book %} - - {{ item.user.display_name }} - -
-
- {% csrf_token %} - - - -
-
- {% csrf_token %} - - - -
- -
+ {% endif %}
{% endblock %} diff --git a/bookwyrm/templates/snippets/book_cover.html b/bookwyrm/templates/snippets/book_cover.html index f26974d2..b1166f7f 100644 --- a/bookwyrm/templates/snippets/book_cover.html +++ b/bookwyrm/templates/snippets/book_cover.html @@ -6,6 +6,7 @@