From c4bf2653f796f7f007a574ed97a86a13c205d795 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Mon, 9 Nov 2020 21:15:55 -0800 Subject: [PATCH] Fixes text for absent star rating --- bookwyrm/templates/snippets/stars.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookwyrm/templates/snippets/stars.html b/bookwyrm/templates/snippets/stars.html index 989c015ca..b73a9b2bc 100644 --- a/bookwyrm/templates/snippets/stars.html +++ b/bookwyrm/templates/snippets/stars.html @@ -1,5 +1,5 @@
- {{ rating|floatformat }} star{{ rating|floatformat | pluralize }} + {% if rating %}{{ rating|floatformat }} star{{ rating|floatformat | pluralize }}{% else %}No rating{% endif %} {% for i in '12345'|make_list %}