{% load bookwyrm_tags %} {% load i18n %} {% include 'snippets/avatar.html' with user=status.user ariaHide="true" %} {{ status.user.display_name }} {% if status.status_type == 'GeneratedNote' %} {{ status.content | safe }} {% elif status.status_type == 'Rating' %} {% trans "rated" %} {% elif status.status_type == 'Review' %} {% trans "reviewed" %} {% elif status.status_type == 'Comment' %} {% trans "commented on" %} {% elif status.status_type == 'Quotation' %} {% trans "quoted" %} {% elif status.reply_parent %} {% with parent_status=status|parent %} {% if parent_status.status_type == 'Review' %} {% blocktrans with username=parent_status.user.display_name user_path=parent_status.user.local_path status_path=parent_status.local_path %}replied to {{ username}}'s review{% endblocktrans %} {% elif parent_status.status_type == 'Comment' %} {% blocktrans with username=parent_status.user.display_name user_path=parent_status.user.local_path status_path=parent_status.local_path %}replied to {{ username}}'s comment{% endblocktrans %} {% elif parent_status.status_type == 'Quotation' %} {% blocktrans with username=parent_status.user.display_name user_path=parent_status.user.local_path status_path=parent_status.local_path %}replied to {{ username}}'s quote{% endblocktrans %} {% else %} {% blocktrans with username=parent_status.user.display_name user_path=parent_status.user.local_path status_path=parent_status.local_path %}replied to {{ username}}'s status{% endblocktrans %} {% endif %} {% endwith %} {% endif %} {% if status.book %} {{ status.book.title }} {% elif status.mention_books %} {{ status.mention_books.first.title }} {% endif %}