From c551201f792aa288a49c986aab264f4692e3b478 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Sat, 22 Dec 2018 20:13:43 +0000 Subject: Improve thread styling --- app/templates/threads/view.html | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) (limited to 'app/templates/threads') diff --git a/app/templates/threads/view.html b/app/templates/threads/view.html index 71580de..13097fe 100644 --- a/app/templates/threads/view.html +++ b/app/templates/threads/view.html @@ -5,25 +5,26 @@ Threads {% endblock %} {% block content %} + {% if current_user.is_authenticated %} + {% if current_user in thread.watchers %} +
+ + +
+ {% else %} +
+ + +
+ {% endif %} + {% endif %} +

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

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

Package: {{ thread.package.title }}

{% endif %} - - {% if current_user.is_authenticated %} - {% if current_user in thread.watchers %} -
- - -
- {% else %} -
- - -
- {% endif %} - {% endif %} {% endif %} {% if thread.private %} -- cgit v1.2.3