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