diff options
| author | Jason Lam <3edgy6u@gmail.com> | 2014-05-07 18:37:48 -0400 |
|---|---|---|
| committer | Jason Lam <3edgy6u@gmail.com> | 2014-05-07 18:37:48 -0400 |
| commit | 9dab9179f9637381c4ce4fed28669ce46c0e9125 (patch) | |
| tree | e7da682370ef577d39e34bae611dca18f1724b8d /templates/post | |
| parent | c25b8f01c560ca97ca8a9dc217b495966aaa4d7f (diff) | |
Update poster_id.html
previous code did not work
Diffstat (limited to 'templates/post')
| -rw-r--r-- | templates/post/poster_id.html | 6 |
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 %} |
