From c5a961a6a52af8a0d6c0085668fe71d9d9de3a9c Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Mon, 5 Dec 2011 10:33:31 +1100 Subject: custom capcode fix --- templates/post_thread.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'templates/post_thread.html') diff --git a/templates/post_thread.html b/templates/post_thread.html index c236fdcc..ad65e6fc 100644 --- a/templates/post_thread.html +++ b/templates/post_thread.html @@ -58,17 +58,17 @@ {# start email #} {% endif %} - {{ post.name }} + {% set capcode = post.capcode|capcode %} + {{ post.name }} {% if post.trip|length > 0 %} - {{ post.trip }} + {{ post.trip }} {% endif %} {% if post.email|length > 0 %} {# end email #} {% endif %} - {% if post.capcode|length > 0 %} - {# show capcode #} - {{ post.capcode|capcode }} + {% if capcode %} + {{ capcode.cap }} {% endif %} {% if post.mod and post.mod|hasPermission(config.mod.show_ip, board.uri) %} [{{ post.ip }}] -- cgit v1.3