diff options
| author | Jason Lam <3edgy6u@gmail.com> | 2014-05-07 18:37:48 -0400 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2014-05-08 00:58:42 +0200 |
| commit | bf7304622a51e9106a438e4fd59816c3816bd557 (patch) | |
| tree | 6aba999b0abf1535fc1aa4965d88e645ef9f40e5 | |
| parent | f7278e5a61f2617ae4d99d83529c82df048cc0b1 (diff) | |
Update poster_id.html
previous code did not work
| -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 %} |
