summaryrefslogtreecommitdiff
path: root/templates/post
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2014-06-20 23:27:34 +0200
committerczaks <marcin@6irc.net>2014-06-20 23:27:34 +0200
commit73177fcffc040d1c225782fe85f09576a39f6890 (patch)
treeb101f49b4ff3b2b00d20b874abd702bb04ea6220 /templates/post
parent9e2b722db6784226b1394ddf957aa9a4a16ac9a9 (diff)
parent7933abd271b5bb3578cd80f62302cc6ac8961b91 (diff)
Merge branch '4.5' of github.com:vichan-devel/Tinyboard into HEAD
Conflicts: templates/themes/basic/index.html
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 %}