Revert "Make the stars look consistent across platforms"
[books.alexwlchan.net] / templates / _review_entry.html
index 3a2fce5..4c6238d 100644 (file)
@@ -48,10 +48,18 @@ id="review_preview_{{ r }}_{{ g }}_{{ b }}">
           read {{ review_entry.review.date_read | render_date }}
             <br/>
           {% endif %}
-          <div class="star_rating">
-            <img src="/static/{{ review_entry.review.rating }}star.svg">
-          </div>
         </small>
+
+        <span class="star_rating">
+        {% if review_entry.review.rating %}
+          {% for _ in range(review_entry.review.rating) -%}
+          ★
+          {%- endfor -%}
+          {%- for _ in range(5 - review_entry.review.rating) -%}
+          ☆
+          {%- endfor %}
+        {% endif %}
+        </span>
         {% if review_entry.review.did_not_finish %}
           (did not finish)
         {% endif %}