actually fix the broken span
[books.alexwlchan.net] / templates / _review_entry.html
index 865664b..f362b2c 100644 (file)
@@ -28,20 +28,22 @@ id="review_preview_{{ r }}_{{ g }}_{{ b }}">
             <br/>
           {% endif %}
 
-          <span class="star_rating">
-          {% if review_entry.review.rating %}
+          {% if review_entry.review.rating and not review_entry.review.did_not_finish %}
+            <span class="star_rating">
+
             {% for _ in range(review_entry.review.rating) -%}
             ★
             {%- endfor -%}
             {%- for _ in range(5 - review_entry.review.rating) -%}
             ☆
             {%- endfor %}
+            </span>
           {% endif %}
-          </span>
-        </small>
-        {% if review_entry.review.did_not_finish %}
+
+          {% if review_entry.review.did_not_finish %}
           (did not finish)
-        {% endif %}
+          {% endif %}
+        </small>
       </p>
     </div>
   </a>