From 1ec31e8c45b8787bfe6606d2733982a8ea678714 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 25 May 2018 18:46:32 +0200 Subject: [PATCH] feat(templates): Add indicators for closed threads --- templates/index.html | 10 +++++++++- templates/thread.html | 6 ++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/templates/index.html b/templates/index.html index 7151c3390..20932b276 100644 --- a/templates/index.html +++ b/templates/index.html @@ -46,7 +46,15 @@ {{ thread.title }} by {{ thread.author_name }} diff --git a/templates/thread.html b/templates/thread.html index 28ccd79d2..295cf8fcd 100644 --- a/templates/thread.html +++ b/templates/thread.html @@ -78,6 +78,11 @@
+ {% if closed %} +
+ This thread is closed and can no longer be responded to. +
+ {% else %}
@@ -91,6 +96,7 @@
+ {% endif %}