Fixes handling of ratings in status views and urls

This commit is contained in:
Mouse Reeve
2021-02-25 15:05:51 -08:00
parent 2e36cfbcf6
commit 4a10c99026
4 changed files with 6 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{% load bookwyrm_tags %}
<div class="block">
{% if status.status_type == 'Review' %}
{% if status.status_type == 'Review' or status.status_type == 'Rating' %}
<div>
<h3 class="title is-5 has-subtitle">
{% if status.name %}<span dir="auto">{{ status.name }}</span><br>{% endif %}

View File

@ -4,7 +4,7 @@
{% if status.status_type == 'GeneratedNote' %}
{{ status.content | safe }}
{% elif status.status_type == 'Review' and not status.name and not status.content%}
{% elif status.status_type == 'Rating' %}
rated
{% elif status.status_type == 'Review' %}
reviewed