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 @@ - {% if thread.sticky %}announcement{% else %}library_books{% endif %} + + {% if thread.sticky %} + announcement + {% else if thread.closed %} + lock + {% else %} + library_books + {% endif %} + {{ 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 %}