{% extends 'notifications/item_layout.html' %} {% load i18n %} {% load utilities %} {% block icon %} {% endblock %} {% 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 %} added {{ book_title }} to your list "{{ list_name }}" {% endblocktrans %} {% else %} {% blocktrans trimmed %} suggested adding {{ book_title }} to your list "{{ list_name }}" {% endblocktrans %} {% endif %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endblock %}