diff options
Diffstat (limited to 'app/templates/threads/view.html')
| -rw-r--r-- | app/templates/threads/view.html | 19 |
1 files changed, 14 insertions, 5 deletions
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 %} - <h1>{% if thread.private %}🔒 {% endif %}{{ thread.title }}</h1> - - {% if thread.package or current_user.is_authenticated %} - {% if thread.package %} - <p>Package: <a href="{{ thread.package.getDetailsURL() }}">{{ thread.package.title }}</a></p> + <h1> + {% if thread.review %} + {% if thread.review.recommends %} + <i class="fas fa-thumbs-up mr-2" style="color:#6f6;"></i> + {% else %} + <i class="fas fa-thumbs-down mr-2" style="color:#f66;"></i> + {% endif %} {% endif %} + {% if thread.private %}🔒 {% endif %}{{ thread.title }} + </h1> + + {% if thread.package %} + <p> + Package: <a href="{{ thread.package.getDetailsURL() }}">{{ thread.package.title }}</a> + </p> {% endif %} {% if thread.private %} |
