
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.
13 lines
399 B
HTML
13 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 %}
|