From 307b8f8ddea30cb44ad02170b40dd3c0d1d3d6c3 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Thu, 9 Jul 2020 04:10:09 +0100 Subject: Add reviews Fixes #173 --- app/templates/threads/view.html | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'app/templates/threads') diff --git a/app/templates/threads/view.html b/app/templates/threads/view.html index 13097fe..b91f866 100644 --- a/app/templates/threads/view.html +++ b/app/templates/threads/view.html @@ -19,12 +19,21 @@ Threads {% endif %} {% endif %} -

{% if thread.private %}🔒 {% endif %}{{ thread.title }}

- - {% if thread.package or current_user.is_authenticated %} - {% if thread.package %} -

Package: {{ thread.package.title }}

+

+ {% if thread.review %} + {% if thread.review.recommends %} + + {% else %} + + {% endif %} {% endif %} + {% if thread.private %}🔒 {% endif %}{{ thread.title }} +

+ + {% if thread.package %} +

+ Package: {{ thread.package.title }} +

{% endif %} {% if thread.private %} -- cgit v1.2.3