1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-12-14 00:23:04 +01:00
vichan/templates/post/ip.html
2015-03-06 02:00:03 -08:00

6 lines
408 B
HTML

{% if post.mod and post.mod|hasPermission(config.mod.show_ip, board.uri) %}
[<a class="ip-link" style="margin:0;" href="?/IP_less/{{ board.dir }}{{ post.id }}">{{ post.ip }}</a>]
{% elseif post.mod and post.mod|hasPermission(config.mod.show_ip_less, board.uri) %}
[<a class="ip-link" style="margin:0;" href="?/IP_less/{{ board.dir }}{{ post.id }}">{{ post.ip|less_ip(board.uri) }}</a>]
{% endif %}