# HG changeset patch # User neko259 # Date 2014-01-19 19:53:57 # Node ID cc55cb0bf2b61f57e2257db070f49c3474b03718 # Parent 8b7899f54e5c6edeb9b21fea589aa25aaf76aef5 Added a short simple cache to the post template diff --git a/boards/templates/boards/post.html b/boards/templates/boards/post.html --- a/boards/templates/boards/post.html +++ b/boards/templates/boards/post.html @@ -1,91 +1,96 @@ {% load i18n %} {% load board %} +{% load cache %} -{% spaceless %} - {% with thread=post.thread_new %} - {% if thread.archived %} -
- {% elif thread.can_bump %} -
- {% else %} -
- {% endif %} +{% get_current_language as LANGUAGE_CODE %} - {% if post.image %} -
- {{ post.id }} - -
- {% endif %} -
-