{% load i18n %} {% if status.content_warning %} {% trans "Content warning" as text %} {{ text }} {{ status.content_warning }} {% elif status.content %} {{ status.content | safe | truncatewords_html:10 }}{% if status.mention_books %} {{ status.mention_books.first.title }}{% endif %} {% elif status.quote %} {{ status.quote | safe | truncatewords_html:10 }} {% elif status.rating %} {% include 'snippets/stars.html' with rating=status.rating %} {% endif %}