Adds success notification for adding books to lists

This commit is contained in:
Mouse Reeve
2021-04-26 09:57:01 -07:00
parent 1edd00a0d1
commit 7fcf48e84d
7 changed files with 10401 additions and 3167 deletions

View File

@ -13,6 +13,16 @@
<div class="columns mt-3">
<section class="column is-three-quarters">
{% if request.GET.updated %}
<div class="notification is-primary">
{% if list.curation != "open" and request.user != list.user %}
{% trans "You successfully suggested a book for this list!" %}
{% else %}
{% trans "You successfully added a book to this list!" %}
{% endif %}
</div>
{% endif %}
{% if not items.object_list.exists %}
<p>{% trans "This list is currently empty" %}</p>
{% else %}