bookwyrm/bookwyrm/templates/snippets/status/body.html
2021-08-12 06:42:21 -07:00

15 lines
386 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 %}
{% endif %}
{% endwith %}
{% endblock %}