From 56411c44651899271164ebe20fc779112a9b50d0 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Fri, 3 Apr 2020 13:58:14 -0700 Subject: [PATCH] Show half stars --- fedireads/templates/snippets/stars.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fedireads/templates/snippets/stars.html b/fedireads/templates/snippets/stars.html index c658d3ff..8fea9b05 100644 --- a/fedireads/templates/snippets/stars.html +++ b/fedireads/templates/snippets/stars.html @@ -1,8 +1,7 @@ -Leave a rating
+ {{ rating|floatformat }} star{{ rating|floatformat | pluralize }} {% for i in '12345'|make_list %} - - {{ forloop.counter }} star{{ forloop.counter | pluralize }} + {% endfor %}