summaryrefslogtreecommitdiff
path: root/templates/post
diff options
context:
space:
mode:
authorMarcin Łabanowski <marcin@6irc.net>2014-05-08 00:55:54 +0200
committerMarcin Łabanowski <marcin@6irc.net>2014-05-08 00:55:54 +0200
commita6b8a73be47e4cfc024deb38aaafde13f3586039 (patch)
treee7da682370ef577d39e34bae611dca18f1724b8d /templates/post
parentc25b8f01c560ca97ca8a9dc217b495966aaa4d7f (diff)
parent9dab9179f9637381c4ce4fed28669ce46c0e9125 (diff)
Merge pull request #52 from 3edgy6u/master
fixed poster_ids
Diffstat (limited to 'templates/post')
-rw-r--r--templates/post/poster_id.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/post/poster_id.html b/templates/post/poster_id.html
index 3f168003..63cdf562 100644
--- a/templates/post/poster_id.html
+++ b/templates/post/poster_id.html
@@ -1,3 +1,7 @@
{% if config.poster_ids %}
- ID: {{ post.ip|poster_id(post.id) }}
+ {% if post.thread %}
+ ID: {{ post.ip|poster_id(post.thread) }}
+ {% else %}
+ ID: {{ post.ip|poster_id(post.id) }}
+ {% endif %}
{% endif %}