summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJason Lam <3edgy6u@gmail.com>2014-05-09 20:37:31 -0400
committerJason Lam <3edgy6u@gmail.com>2014-05-09 20:37:31 -0400
commit9bd0572b63e5a2bc98da0375ab2bd32b546efd12 (patch)
tree0366f3787d76f670389fcbdfb0bdb00bfbee72be /templates
parent9dab9179f9637381c4ce4fed28669ce46c0e9125 (diff)
use new truncate_filename function
Diffstat (limited to 'templates')
-rw-r--r--templates/post/fileinfo.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/post/fileinfo.html b/templates/post/fileinfo.html
index dcbb249d..c2a0aa6a 100644
--- a/templates/post/fileinfo.html
+++ b/templates/post/fileinfo.html
@@ -22,7 +22,7 @@
{% if config.show_filename and file.filename %}
,
{% if file.filename|length > config.max_filename_display %}
- <span class="postfilename" title="{{ file.filename|e }}">{{ file.filename|truncate(config.max_filename_display)|bidi_cleanup }}</span>
+ <span class="postfilename" title="{{ file.filename|e }}">{{ file.filename|truncate_filename(config.max_filename_display)|bidi_cleanup }}</span>
{% else %}
<span class="postfilename">{{ file.filename|e|bidi_cleanup }}</span>
{% endif %}