Always use underscores in html ids
Plus some other shifting around
This commit is contained in:
14
bookwyrm/templates/snippets/status/body.html
Normal file
14
bookwyrm/templates/snippets/status/body.html
Normal file
@ -0,0 +1,14 @@
|
||||
{% extends 'snippets/status/layout.html' %}
|
||||
|
||||
{% block card-content %}
|
||||
{% with status_type=status.status_type %}
|
||||
|
||||
{% if status_type == 'GeneratedNote' or status_type == 'Rating' or not status.content %}
|
||||
{% include 'snippets/status/generated_status.html' with status=status %}
|
||||
{% else %}
|
||||
{% include 'snippets/status/content_status.html' with status=status %}
|
||||
{% endif %}
|
||||
|
||||
{% endwith %}
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user