{% load utilities %} {% load status_display %} {% load i18n %} {% load humanize %}

{% 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 %} {% 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 %} {% endwith %} {% endif %} {% if status.book %} {% if status.status_type == 'GeneratedNote' or status.status_type == 'Rating' %} {{ status.book|title }}{% if status.status_type == 'Rating' %}: {% include 'snippets/stars.html' with rating=status.rating %}

{{ status.published_date|published_date }} {% if status.progress %} {% if status.progress_mode == 'PG' %} ({% include 'snippets/page_text.html' with page=status.progress total_pages=status.book.pages %}) {% else %} ({{ status.progress }}%) {% endif %} {% endif %} {% include 'snippets/privacy-icons.html' with item=status %}