1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-12-01 02:27:24 +01:00
vichan/templates/post/poster_id.html

10 lines
442 B
HTML

{% if config.poster_ids or (mod|hasPermission(config.mod.show_ip_less, board.uri)) %}
{% if post.ip == '127.0.0.2' %}
<span class="poster_id" title="This user is posting via the Tor hidden service.">000000</span>
{% elseif post.thread %}
<span class="poster_id">{{ poster_id(post.ip, post.thread, board.uri) }}</span>
{% else %}
<span class="poster_id">{{ poster_id(post.ip, post.id, board.uri) }}</span>
{% endif %}
{% endif %}