From 59874b83769259e3a1b0730405e5f65e46243666 Mon Sep 17 00:00:00 2001 From: czaks Date: Wed, 16 Apr 2014 15:01:37 +0200 Subject: modularize post templates a little more --- templates/post/name.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 templates/post/name.html (limited to 'templates/post/name.html') diff --git a/templates/post/name.html b/templates/post/name.html new file mode 100644 index 00000000..009b234d --- /dev/null +++ b/templates/post/name.html @@ -0,0 +1,16 @@ +{% set capcode = post.capcode|capcode %} +{% if post.email|length > 0 %} + {# start email #} + +{% endif %} + {{ post.name|bidi_cleanup }} + {% if post.trip|length > 0 %} + {{ post.trip }} + {% endif %} +{% if post.email|length > 0 %} + {# end email #} + +{% endif %} +{% if capcode %} + {{ capcode.cap }} +{% endif %} -- cgit v1.3