diff --git a/bookwyrm/templates/notifications/items/add.html b/bookwyrm/templates/notifications/items/add.html index 50cba16b4..8e1c46a30 100644 --- a/bookwyrm/templates/notifications/items/add.html +++ b/bookwyrm/templates/notifications/items/add.html @@ -10,19 +10,19 @@ {% block description %} {% with book_path=notification.related_list_item.book.local_path %} {% with book_title=notification.related_list_item.book|book_title %} -{% with list_path=notification.related_list_item.book_list.local_path %} {% with list_name=notification.related_list_item.book_list.name %} {% if notification.related_list_item.approved %} - {% blocktrans trimmed %} + {% blocktrans trimmed with list_path=notification.related_list_item.book_list.local_path %} added {{ book_title }} to your list "{{ list_name }}" {% endblocktrans %} {% else %} - {% blocktrans trimmed %} + {% url 'list-curate' notification.related_list_item.book_list.id as list_path %} + {% blocktrans trimmed with list_path=list_path %} - suggested adding {{ book_title }} to your list "{{ list_name }}" + suggested adding {{ book_title }} to your list "{{ list_name }}" {% endblocktrans %} {% endif %} @@ -30,6 +30,5 @@ {% endwith %} {% endwith %} {% endwith %} -{% endwith %} {% endblock %}