{% extends 'notifications/items/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.reply_parent.book|book_title as book_title %} {% with related_status.local_path as related_path %} {% with related_status.reply_parent.local_path as parent_path %} {% if related_status.reply_parent.status_type == 'Review' %} {% blocktrans trimmed %} replied to your review of {{ book_title }} {% endblocktrans %} {% elif related_status.reply_parent.status_type == 'Comment' %} {% blocktrans trimmed %} replied to your comment on {{ book_title }} {% endblocktrans %} {% elif related_status.reply_parent.status_type == 'Quotation' %} {% blocktrans trimmed %} replied to your quote from {{ book_title }} {% endblocktrans %} {% else %} {% blocktrans trimmed %} replied to your status {% endblocktrans %} {% endif %} {% endwith %} {% endwith %} {% endwith %} {% endblock %} {% block preview %}