2020-03-15 17:15:36 -04:00
{% load humanize %}
2020-03-09 20:03:59 -04:00
{% load fr_display %}
< div class = "post {{ status.status_type|lower }} depth-{{ depth }} {% if main %}main{% else %}reply{% endif %}" >
2020-03-15 17:15:36 -04:00
< h2 >
{% include 'snippets/avatar.html' with user=status.user %}
{% include 'snippets/username.html' with user=status.user %}
{% if status.status_type == 'Update' %}
{{ status.content | safe }}
{% elif status.status_type == 'Review' %}
reviewed {{ status.book.title }}
2020-03-21 19:50:49 -04:00
{% elif status.status_type == 'Comment' %}
commented on {{ status.book.title }}
2020-03-30 11:31:31 -04:00
{% elif status.status_type == 'Boost' %}
boosted
2020-03-15 17:15:36 -04:00
{% elif status.reply_parent %}
{% with parent_status=status|parent %}
replied to {% include 'snippets/username.html' with user=parent_status.user possessive=True %} < a href = "{{parent_status.absolute_id }}" > {{ parent_status.status_type|lower }}< / a >
{% endwith %}
{% endif %}
< span class = "time-ago" >
< a href = "{{ status.absolute_id }}" > {{ status.published_date | naturaltime }}< / a >
< / span >
< / h2 >
2020-04-01 17:32:56 -04:00
{% include 'snippets/status_content.html' with status=status %}
2020-03-09 20:03:59 -04:00
< / div >
2020-03-30 11:31:31 -04:00
{% if status.status_type != 'Boost' %}
2020-03-15 17:15:36 -04:00
{% include 'snippets/interaction.html' with activity=status %}
2020-03-30 11:31:31 -04:00
{% endif %}
2020-03-09 20:03:59 -04:00