{% extends 'notifications/items/item_layout.html' %} {% load i18n %} {% load utilities %} {% block primary_link %}{% spaceless %} {{ notification.related_status.local_path }} {% endspaceless %}{% endblock %} {% block icon %} {% endblock %} {% block description %} {% with related_status.book|book_title as book_title %} {% with related_status.local_path as related_path %} {% if related_status.status_type == 'Review' %} {% blocktrans trimmed %} favorited your review of {{ book_title }} {% endblocktrans %} {% elif related_status.status_type == 'Comment' %} {% blocktrans trimmed %} favorited your comment on{{ book_title }} {% endblocktrans %} {% elif related_status.status_type == 'Quotation' %} {% blocktrans trimmed %} favorited your quote from {{ book_title }} {% endblocktrans %} {% else %} {% blocktrans trimmed %} favorited your status {% endblocktrans %} {% endif %} {% endwith %} {% endwith %} {% endblock %} {% block preview %}