Add ability to make neutral reviews

This commit is contained in:
rubenwardy
2023-04-15 02:37:58 +01:00
parent 1235bc14db
commit b1bd39c0fc
15 changed files with 101 additions and 34 deletions

View File

@@ -54,10 +54,12 @@
{% for review in reviews %}
<tr>
<th colspan="2">
{% if review.recommends %}
{% if review.rating > 3 %}
<i class="fas fa-thumbs-up text-success mr-2"></i>
{% else %}
{% elif review.rating < 3 %}
<i class="fas fa-thumbs-down text-danger mr-2"></i>
{% else %}
<i class="fas fa-minus mr-2"></i>
{% endif %}
<a href="{{ review.thread.getViewURL() }}">
{{ review.thread.title }}
@@ -86,4 +88,4 @@
</tr>
{% endfor %}
</table>
{% endblock %}
{% endblock %}