Status updates for shelving actions

This commit is contained in:
Mouse Reeve
2020-02-16 18:45:25 -08:00
parent f28ee934fc
commit 4eeb842350
6 changed files with 50 additions and 50 deletions

View File

@ -70,6 +70,11 @@
{% elif activity.status_type == 'Note' %}
posted</h2>
{{ activity.content | safe }}
{% for book in activity.mention_books.all %}
<div class="book-preview review">
{% include 'snippets/book.html' with book=book size=large description=True %}
</div>
{% endfor %}
{% else %}
{# generic handling for a misc activity, which perhaps should not be displayed at all #}
did {{ activity.activity_type }}