mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-05-18 00:12:59 +00:00
6af1be28f3
On the feed view along with other statuses, the body will be trimmed, but on the single view, there's no need to trim it. This preserves the logic for spoiler alerts.
14 lines
399 B
HTML
14 lines
399 B
HTML
{% extends 'snippets/status/layout.html' %}
|
|
|
|
{% block card-content %}
|
|
{% with status_type=status.status_type %}
|
|
|
|
{% if status_type == 'GeneratedNote' or status_type == 'Rating' %}
|
|
{% include 'snippets/status/generated_status.html' with status=status %}
|
|
{% else %}
|
|
{% include 'snippets/status/content_status.html' with status=status expand=expand %}
|
|
{% endif %}
|
|
|
|
{% endwith %}
|
|
{% endblock %}
|