summaryrefslogtreecommitdiff
path: root/templates/post_reply.html
diff options
context:
space:
mode:
authorMarcin Łabanowski <marcin@6irc.net>2013-01-19 16:23:02 +0100
committerMarcin Łabanowski <marcin@6irc.net>2013-01-19 16:23:02 +0100
commit82fb733906e73fd348d961602144d91a9019b1ba (patch)
tree957e13b7e87b5a30f77b9f11231b9cef1b86fca6 /templates/post_reply.html
parentfa0a79d99246bc82cac5640cf0ecdee214d6545f (diff)
parent27ee4d320c196a5490891831f615f2e871eb6782 (diff)
Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Diffstat (limited to 'templates/post_reply.html')
-rw-r--r--templates/post_reply.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/post_reply.html b/templates/post_reply.html
index f4a20f04..73ff2c15 100644
--- a/templates/post_reply.html
+++ b/templates/post_reply.html
@@ -63,7 +63,7 @@
, {{ post.ratio }}
{% endif %}
{% endif %}
- {% if config.show_filename %}
+ {% if config.show_filename and post.filename %}
,
{% if post.filename|length > config.max_filename_display %}
<span title="{{ post.filename }}">{{ post.filename|truncate(config.max_filename_display) }}</span>