bookwyrm/bookwyrm/templates/snippets/status/body.html
Christof Dorner 6af1be28f3 Always expand content status on single status view
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.
2023-02-04 12:52:09 +01:00

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 %}