{% extends 'notifications/item_layout.html' %} {% load i18n %} {% load utilities %} {% 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 %} mentioned you in a review of {{ book_title }} {% endblocktrans %} {% elif related_status.status_type == 'Comment' %} {% blocktrans trimmed %} mentioned you in a comment on {{ book_title }} {% endblocktrans %} {% elif related_status.status_type == 'Quotation' %} {% blocktrans trimmed %} mentioned you in a quote from {{ book_title }} {% endblocktrans %} {% else %} {% blocktrans trimmed %} mentioned you in a status {% endblocktrans %} {% endif %} {% endwith %} {% endwith %} {% endblock %} {% block preview %}