2021-02-28 02:48:10 +00:00
|
|
|
{% load i18n %}
|
2021-01-23 23:39:55 +00:00
|
|
|
{{ obj.user.display_name }}{% if obj.status_type == 'GeneratedNote' %}
|
2021-01-20 22:15:15 +00:00
|
|
|
{{ obj.content | safe }}
|
|
|
|
{% elif obj.status_type == 'Review' and not obj.name and not obj.content%}
|
2021-02-28 02:48:10 +00:00
|
|
|
{% trans "rated" %}
|
2021-01-20 22:15:15 +00:00
|
|
|
{% elif obj.status_type == 'Review' %}
|
2021-02-28 02:48:10 +00:00
|
|
|
{% trans "reviewed" %}
|
2021-01-20 22:15:15 +00:00
|
|
|
{% elif obj.status_type == 'Comment' %}
|
2021-02-28 02:48:10 +00:00
|
|
|
{% trans "commented on" %}
|
2021-01-20 22:15:15 +00:00
|
|
|
{% elif obj.status_type == 'Quotation' %}
|
2021-02-28 02:48:10 +00:00
|
|
|
{% trans "quoted" %}
|
2021-01-20 22:15:15 +00:00
|
|
|
{% endif %}
|
|
|
|
{% if obj.book %}{{ obj.book.title | safe}}
|
|
|
|
{% elif obj.mention_books %}
|
|
|
|
{{ obj.mention_books.first.title }}
|
2021-02-28 02:48:10 +00:00
|
|
|
{% endif %}
|