- {{ status.name|escape }} -
- -
-
+ {% if status_type == 'Review' %}
+
+
-
+ {{ status.name|escape }}
+
- {# @todo Is it possible to not hard-code the value? #}
-
-
- {% include 'snippets/stars.html' with rating=status.rating %}
-
- - + {{ status.name|escape }} +
- {# @todo Is it possible to not hard-code the value? #} - -
+
+
- {% if status.content_warning %}
-
- {{ status.content_warning }}
-
- {% trans "Show more" as button_text %}
-
- {% with text=button_text class="is-small" controls_text="show-status-cw" controls_uid=status.id %}
- {% include 'snippets/toggle/open_button.html' %}
- {% endwith %}
-
- {% endif %}
-
-
- {% if status.content_warning %}
- {% trans "Show less" as button_text %}
-
- {% with text=button_text class="is-small" controls_text="show-status-cw" controls_uid=status.id %}
- {% include 'snippets/toggle/close_button.html' %}
- {% endwith %}
+ {# @todo Is it possible to not hard-code the value? #}
+
+
+ {% include 'snippets/stars.html' with rating=status.rating %}
+
+
{% endif %}
- {% if status.quote %}
-
- {{ status.quote | safe }}
+ {% if status.content_warning %}
+
+ {{ status.content_warning }}
- — {% include 'snippets/book_titleby.html' with book=status.book %}
+ {% trans "Show more" as button_text %}
+
+ {% with text=button_text class="is-small" controls_text="show-status-cw" controls_uid=status.id %}
+ {% include 'snippets/toggle/open_button.html' %}
+ {% endwith %}
{% endif %}
- {% if status.content and status_type != 'GeneratedNote' and status_type != 'Announce' %}
- {% with full=status.content|safe no_trim=status.content_warning itemprop=body_prop %}
- {% include 'snippets/trimmed_text.html' %}
- {% endwith %}
- {% endif %}
+
+ {% if status.content_warning %}
+ {% trans "Show less" as button_text %}
- {% if status.attachments.exists %}
-
-
- {% for attachment in status.attachments.all %}
-
-
-
- {% endfor %}
+ {% if status.quote %}
+
+ {{ status.quote | safe }}
+
+ — {% include 'snippets/book_titleby.html' with book=status.book %}
-
- {% endif %}
-
-
+ {% endif %}
+
+ {% if status.content and status_type != 'GeneratedNote' and status_type != 'Announce' %}
+ {% with full=status.content|safe no_trim=status.content_warning itemprop="reviewBody" %}
+ {% include 'snippets/trimmed_text.html' %}
+ {% endwith %}
+ {% endif %}
+
+ {% if status.attachments.exists %}
+
+
+ {% for attachment in status.attachments.all %}
+
+
+
+ {% endfor %}
+
+
+ {% endif %}
+
+
+
{% endwith %}
diff --git a/bookwyrm/templates/snippets/status/generated_status.html b/bookwyrm/templates/snippets/status/generated_status.html
index f4186cd1..f3bbae44 100644
--- a/bookwyrm/templates/snippets/status/generated_status.html
+++ b/bookwyrm/templates/snippets/status/generated_status.html
@@ -3,29 +3,9 @@
{% load bookwyrm_tags %}
{% load i18n %}
-{% if status_type == 'Rating' %}
-
-
-
-
-
- {# @todo Is it possible to not hard-code the value? #}
-
-
-
- {% include 'snippets/stars.html' with rating=status.rating %}
-
-
-{% endif %}
-
{% if not hide_book %}
{% with book=status.book|default:status.mention_books.first %}
-
+
{% include 'snippets/book_cover.html' with book=book size="small" %}
diff --git a/bookwyrm/templates/snippets/status/status_header.html b/bookwyrm/templates/snippets/status/status_header.html
index 6493bd54..0fa74ddd 100644
--- a/bookwyrm/templates/snippets/status/status_header.html
+++ b/bookwyrm/templates/snippets/status/status_header.html
@@ -40,10 +40,29 @@
{% endwith %}
{% endif %}
+
{% if status.book %}
-{{ status.book.title }}
+ {% if status.status_type == 'GeneratedNote' or status.status_type == 'Rating' %}
+ {{ status.book.title }}{% if status.status_type == 'Rating' %}:
+
+
+
+
+ {# @todo Is it possible to not hard-code the value? #}
+
+
+
+ {% include 'snippets/stars.html' with rating=status.rating %}
+ {% endif %}
+ {% else %}
+ {% include 'snippets/book_titleby.html' with book=status.book %}
+ {% endif %}
{% elif status.mention_books %}
-{{ status.mention_books.first.title }}
+ {{ status.mention_books.first.title }}
{% endif %}
{% if status.progress %}
{{ status.content_warning }}
- - {% trans "Show more" as button_text %} - - {% with text=button_text class="is-small" controls_text="show-status-cw" controls_uid=status.id %} - {% include 'snippets/toggle/open_button.html' %} - {% endwith %} -
-
{{ status.quote | safe }}+ {% if status.content_warning %} +
+
{% endif %}
- {% if status.content and status_type != 'GeneratedNote' and status_type != 'Announce' %}
- {% with full=status.content|safe no_trim=status.content_warning itemprop=body_prop %}
- {% include 'snippets/trimmed_text.html' %}
- {% endwith %}
- {% endif %}
+ {{ status.content_warning }}
-— {% include 'snippets/book_titleby.html' with book=status.book %}
+ {% trans "Show more" as button_text %} + + {% with text=button_text class="is-small" controls_text="show-status-cw" controls_uid=status.id %} + {% include 'snippets/toggle/open_button.html' %} + {% endwith %}
+ {% if status.content_warning %}
+ {% trans "Show less" as button_text %}
- {% if status.attachments.exists %}
-
+
+
-
-
+ {% endif %}
+
+ {% if status.content and status_type != 'GeneratedNote' and status_type != 'Announce' %}
+ {% with full=status.content|safe no_trim=status.content_warning itemprop="reviewBody" %}
+ {% include 'snippets/trimmed_text.html' %}
+ {% endwith %}
+ {% endif %}
+
+ {% if status.attachments.exists %}
+
- {% for attachment in status.attachments.all %}
-
- {% endif %}
-
-
-
- {% endfor %}
+ {% if status.quote %}
+
+
- {{ status.quote | safe }}+ +
— {% include 'snippets/book_titleby.html' with book=status.book %}
+
+ {% endif %}
+
+ {% for attachment in status.attachments.all %}
+
+
+
+
+ {% endfor %}
+
-
-
-
- {# @todo Is it possible to not hard-code the value? #}
-
-
-
- {% include 'snippets/stars.html' with rating=status.rating %}
-
-
{% include 'snippets/book_cover.html' with book=book size="small" %}
diff --git a/bookwyrm/templates/snippets/status/status_header.html b/bookwyrm/templates/snippets/status/status_header.html
index 6493bd54..0fa74ddd 100644
--- a/bookwyrm/templates/snippets/status/status_header.html
+++ b/bookwyrm/templates/snippets/status/status_header.html
@@ -40,10 +40,29 @@
{% endwith %}
{% endif %}
+
{% if status.book %}
-{{ status.book.title }}
+ {% if status.status_type == 'GeneratedNote' or status.status_type == 'Rating' %}
+ {{ status.book.title }}{% if status.status_type == 'Rating' %}:
+
+
+
+
+ {# @todo Is it possible to not hard-code the value? #}
+
+
+
+ {% include 'snippets/stars.html' with rating=status.rating %}
+ {% endif %}
+ {% else %}
+ {% include 'snippets/book_titleby.html' with book=status.book %}
+ {% endif %}
{% elif status.mention_books %}
-{{ status.mention_books.first.title }}
+ {{ status.mention_books.first.title }}
{% endif %}
{% if status.progress %}