summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJason Lam <3edgy6u@gmail.com>2014-05-07 18:37:48 -0400
committerJason Lam <3edgy6u@gmail.com>2014-05-07 18:37:48 -0400
commit9dab9179f9637381c4ce4fed28669ce46c0e9125 (patch)
treee7da682370ef577d39e34bae611dca18f1724b8d /templates
parentc25b8f01c560ca97ca8a9dc217b495966aaa4d7f (diff)
Update poster_id.html
previous code did not work
Diffstat (limited to 'templates')
-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 %}