summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMichael <savetheinternet@tinyboard.org>2013-01-18 23:02:24 -0800
committerMichael <savetheinternet@tinyboard.org>2013-01-18 23:02:24 -0800
commit6aac2472e66f87d2d38a3b0bd361e355836be49d (patch)
tree79b0b93d1b11f37cbff9f024e34c28ada39239cc /templates
parentced540a66ee223ba2e3e2b8dbaaf50e5b48a13d8 (diff)
parent3a9ed90c585b0e97cbc3453f5a004c34e630cf00 (diff)
Merge pull request #92 from Macil/fixes
Miscellaneous bugfixes
Diffstat (limited to 'templates')
-rw-r--r--templates/post_reply.html2
-rw-r--r--templates/post_thread.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/post_reply.html b/templates/post_reply.html
index f50e392e..ddd0afd4 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>
diff --git a/templates/post_thread.html b/templates/post_thread.html
index da93c5dd..cf93bed0 100644
--- a/templates/post_thread.html
+++ b/templates/post_thread.html
@@ -20,7 +20,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>