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_reply.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'templates/post_reply.html') diff --git a/templates/post_reply.html b/templates/post_reply.html index d14505bd..e01567a2 100644 --- a/templates/post_reply.html +++ b/templates/post_reply.html @@ -14,17 +14,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